mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 06:22:15 -07:00
Lint.
Took 42 seconds
This commit is contained in:
parent
48287363b2
commit
7a0ac51afd
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ void GameEventHandler::eventGameStateChanged(const Event_GameStateChanged &event
|
|||
QString playerName = "@" + QString::fromStdString(prop.user_info().name());
|
||||
emit addPlayerToAutoCompleteList(playerName);
|
||||
if (prop.spectator()) {
|
||||
if (!game->getPlayerManager()->getSpectators().contains(playerId)){
|
||||
if (!game->getPlayerManager()->getSpectators().contains(playerId)) {
|
||||
game->getPlayerManager()->addSpectator(playerId, prop);
|
||||
emit spectatorJoined(prop);
|
||||
emit logJoinSpectator(playerName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue