mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Do not attempt to start a new turn on game end
This commit is contained in:
@@ -196,7 +196,10 @@ void TurnOrderProcessor::doStartNewDay()
|
||||
}
|
||||
|
||||
if(!activePlayer)
|
||||
{
|
||||
gameHandler->gameLobby()->setState(EServerState::GAMEPLAY_ENDED);
|
||||
return;
|
||||
}
|
||||
|
||||
std::swap(actedPlayers, awaitingPlayers);
|
||||
|
||||
|
Reference in New Issue
Block a user