mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 05:14:32 -04: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) {
|
fun addToQueue(constructionName: String) {
|
||||||
if (!isQueueFull()) {
|
if (!isQueueFull()) {
|
||||||
if (isQueueEmpty() && currentConstruction == "Nothing") {
|
if (isQueueEmpty() && currentConstruction == "" || currentConstruction == "Nothing") {
|
||||||
currentConstruction = constructionName
|
currentConstruction = constructionName
|
||||||
currentConstructionIsUserSet = true
|
currentConstructionIsUserSet = true
|
||||||
} else
|
} else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user