From fd765fc442734ddd9dd756f6c184c3e6024ecbbd Mon Sep 17 00:00:00 2001 From: Federico Luongo Date: Sun, 19 Jan 2020 17:41:25 +0100 Subject: [PATCH] Hotfix empty entry in construction queue (#1725) --- core/src/com/unciv/logic/city/CityConstructions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/city/CityConstructions.kt b/core/src/com/unciv/logic/city/CityConstructions.kt index 53d5eed61e..1c0bd619ba 100644 --- a/core/src/com/unciv/logic/city/CityConstructions.kt +++ b/core/src/com/unciv/logic/city/CityConstructions.kt @@ -329,7 +329,7 @@ class CityConstructions { fun addToQueue(constructionName: String) { if (!isQueueFull()) { - if (isQueueEmpty() && currentConstruction == "Nothing") { + if (isQueueEmpty() && currentConstruction == "" || currentConstruction == "Nothing") { currentConstruction = constructionName currentConstructionIsUserSet = true } else