add aditional guilog message "player joined game" for rejoined players
This commit is contained in:
@@ -336,7 +336,11 @@ void GuiWrapper::SignalNetClientSelfJoined(unsigned playerId, const string &play
|
||||
}
|
||||
void GuiWrapper::SignalNetClientPlayerJoined(unsigned playerId, const string &playerName, bool isGameAdmin)
|
||||
{
|
||||
myStartWindow->signalNetClientPlayerJoined(playerId, QString::fromUtf8(playerName.c_str()), isGameAdmin);
|
||||
myStartWindow->signalNetClientPlayerJoined(playerId, QString::fromUtf8(playerName.c_str()), isGameAdmin);
|
||||
if (!playerName.empty() && playerName[0] != '#' && myW->isVisible()) {
|
||||
QString tmpName(QString::fromUtf8(playerName.c_str()));
|
||||
myGuiLog->signalLogPlayerJoinedMsg(tmpName);
|
||||
}
|
||||
}
|
||||
void GuiWrapper::SignalNetClientPlayerChanged(unsigned playerId, const string &newPlayerName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user