mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-19 16:57:38 +07:00
This commit is contained in:
parent
d4af4e1053
commit
3e4ba83bcc
@ -12,6 +12,7 @@ import com.unciv.UncivGame
|
||||
import com.unciv.logic.GameInfo
|
||||
import com.unciv.logic.UncivShowableException
|
||||
import com.unciv.logic.civilization.Civilization
|
||||
import com.unciv.logic.civilization.PlayerType
|
||||
import com.unciv.logic.civilization.diplomacy.DiplomaticStatus
|
||||
import com.unciv.logic.event.EventBus
|
||||
import com.unciv.logic.map.MapVisualization
|
||||
@ -601,6 +602,11 @@ class WorldScreen(
|
||||
|
||||
debug("Next turn took %sms", System.currentTimeMillis() - startTime)
|
||||
|
||||
// Special case: when you are the only human player, the game will always be up to date
|
||||
if (gameInfo.gameParameters.isOnlineMultiplayer && gameInfoClone.civilizations.filter { it.playerType == PlayerType.Human }.size == 1) {
|
||||
gameInfoClone.isUpToDate = true
|
||||
}
|
||||
|
||||
startNewScreenJob(gameInfoClone)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user