Taking simulateUntilWin from the UncivGame.Current was causing problems when downloading multiplayer games - @alkorolyov

This commit is contained in:
Yair Morgenstern
2020-07-04 22:51:43 +03:00
parent 2c9cf077c5
commit c2f0ee94fc

View File

@ -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 {