mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-20 19:56:51 +01:00
#10183 - Can still spectate AI-only matches in singleplayer
This commit is contained in:
parent
bb0dca8651
commit
2560d73f7d
|
|
@ -615,7 +615,9 @@ class GameInfo : IsPartOfGameInfoSerialization, HasGameInfoSerializationVersion
|
|||
|
||||
tileMap.setTransients(ruleset)
|
||||
|
||||
if (currentPlayer == "") currentPlayer = civilizations.first { it.isHuman() && !it.isSpectator() }.civName
|
||||
if (currentPlayer == "") currentPlayer =
|
||||
if (gameParameters.isOnlineMultiplayer) civilizations.first { it.isHuman() && !it.isSpectator() }.civName // For MP, spectator doesn't get a 'turn'
|
||||
else civilizations.first { it.isHuman() }.civName // for non-MP games, you can be a spectator of an AI-only match, and you *do* get a turn, sort of
|
||||
currentPlayerCiv = getCivilization(currentPlayer)
|
||||
|
||||
difficultyObject = ruleset.difficulties[difficulty]!!
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user