mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Do not attempt to start a new turn on game end
This commit is contained in:
parent
337e090ee9
commit
a3adfcf7a7
@ -196,7 +196,10 @@ void TurnOrderProcessor::doStartNewDay()
|
||||
}
|
||||
|
||||
if(!activePlayer)
|
||||
{
|
||||
gameHandler->gameLobby()->setState(EServerState::GAMEPLAY_ENDED);
|
||||
return;
|
||||
}
|
||||
|
||||
std::swap(actedPlayers, awaitingPlayers);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user