mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
Reorder player-left signals
Took 11 seconds
This commit is contained in:
parent
2e017850c2
commit
a0b0cd6a73
1 changed files with 2 additions and 2 deletions
|
|
@ -57,9 +57,9 @@ void PlayerManager::removePlayer(int playerId)
|
||||||
if (!player) {
|
if (!player) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
players.remove(playerId);
|
|
||||||
emit playerCountChanged();
|
|
||||||
emit playerRemoved(player);
|
emit playerRemoved(player);
|
||||||
|
emit playerCountChanged();
|
||||||
|
players.remove(playerId);
|
||||||
}
|
}
|
||||||
|
|
||||||
Player *PlayerManager::getPlayer(int playerId) const
|
Player *PlayerManager::getPlayer(int playerId) const
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue