From a254ec02195586ccdd483fa2eb8ed96e2fcc911f Mon Sep 17 00:00:00 2001 From: lishaoxia1985 <49801619+lishaoxia1985@users.noreply.github.com> Date: Thu, 3 Jun 2021 09:31:49 -0500 Subject: [PATCH] Fix that when WindowState's width and height = 0 the app window will disappear (#4044) --- core/src/com/unciv/models/metadata/GameSettings.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/models/metadata/GameSettings.kt b/core/src/com/unciv/models/metadata/GameSettings.kt index b8b058d5a4..3bb07b65f1 100644 --- a/core/src/com/unciv/models/metadata/GameSettings.kt +++ b/core/src/com/unciv/models/metadata/GameSettings.kt @@ -4,7 +4,7 @@ import com.badlogic.gdx.Application import com.badlogic.gdx.Gdx import com.unciv.logic.GameSaver -data class WindowState (val width:Int=0, val height:Int=0) +data class WindowState (val width: Int = 900, val height: Int = 600) class GameSettings { var showWorkedTiles: Boolean = false