mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-03 22:22:51 +07:00
Hotfix empty entry in construction queue (#1725)
This commit is contained in:
parent
762af74b61
commit
fd765fc442
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user