Hotfix empty entry in construction queue (#1725)

This commit is contained in:
Federico Luongo 2020-01-19 17:41:25 +01:00 committed by Yair Morgenstern
parent 762af74b61
commit fd765fc442

View file

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