From c2f0ee94fc1f75a2a4106018104d58495aef8f4f Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Sat, 4 Jul 2020 22:51:43 +0300 Subject: [PATCH] Taking simulateUntilWin from the UncivGame.Current was causing problems when downloading multiplayer games - @alkorolyov --- core/src/com/unciv/logic/GameInfo.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/GameInfo.kt b/core/src/com/unciv/logic/GameInfo.kt index 7953e0be98..80b0d6c31b 100644 --- a/core/src/com/unciv/logic/GameInfo.kt +++ b/core/src/com/unciv/logic/GameInfo.kt @@ -35,7 +35,9 @@ class GameInfo { var oneMoreTurnMode=false var currentPlayer="" var gameId = UUID.randomUUID().toString() // random string - var simulateUntilWin = UncivGame.Current.simulateUntilWin + // can't be taken directly from Unciv.Current.SimulateUntilWin because this causes problems with downloading multiplayer games., + // should probably be either 'manually set' upon creation + var simulateUntilWin = false //region pure functions fun clone(): GameInfo {