Reorder player-left signals

Took 11 seconds
This commit is contained in:
Lukas Brübach 2025-09-15 09:35:26 +02:00
parent 2e017850c2
commit a0b0cd6a73

View file

@ -57,9 +57,9 @@ void PlayerManager::removePlayer(int playerId)
if (!player) {
return;
}
players.remove(playerId);
emit playerCountChanged();
emit playerRemoved(player);
emit playerCountChanged();
players.remove(playerId);
}
Player *PlayerManager::getPlayer(int playerId) const