init activePlayer to -1

This commit is contained in:
RickyRister 2025-09-14 21:22:02 -07:00
parent 5a11ce3e92
commit 2aae1421d7

View file

@ -13,7 +13,7 @@ GameState::GameState(AbstractGame *parent,
bool _gameClosed)
: QObject(parent), gameTimer(nullptr), secondsElapsed(_secondsElapsed), hostId(_hostId), isLocalGame(_isLocalGame),
clients(_clients), gameStateKnown(_gameStateKnown), resuming(_resuming), currentPhase(_currentPhase),
activePlayer(0), gameClosed(_gameClosed)
activePlayer(-1), gameClosed(_gameClosed)
{
}