mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Log the local player joining too.
Took 2 minutes
This commit is contained in:
parent
0745996cb4
commit
2deca5d103
1 changed files with 1 additions and 0 deletions
|
|
@ -265,6 +265,7 @@ void GameEventHandler::eventGameStateChanged(const Event_GameStateChanged &event
|
||||||
if (!player) {
|
if (!player) {
|
||||||
player = gameState->addPlayer(playerId, prop.user_info(), game);
|
player = gameState->addPlayer(playerId, prop.user_info(), game);
|
||||||
emit playerJoined(prop);
|
emit playerJoined(prop);
|
||||||
|
emit logJoinPlayer(player);
|
||||||
}
|
}
|
||||||
player->processPlayerInfo(playerInfo);
|
player->processPlayerInfo(playerInfo);
|
||||||
if (player->getLocal()) {
|
if (player->getLocal()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue