Resolved #2444 - buying buildings no longer crashes
This commit is contained in:
parent
cb87ae94a8
commit
de1c6872fe
1 changed files with 0 additions and 2 deletions
|
@ -319,8 +319,6 @@ class ConstructionsTable(val cityScreen: CityScreen) : Table(CameraStageBaseScre
|
|||
if (isSelectedQueueEntry()) {
|
||||
// currentConstruction is removed from the queue by purchaseConstruction
|
||||
// to avoid conflicts with NextTurnAutomation
|
||||
if (!constructionIsCurrentConstruction && cityConstructions.constructionQueue[selectedQueueEntry] == construction.name)
|
||||
cityConstructions.removeFromQueue(selectedQueueEntry,false)
|
||||
selectedQueueEntry = -2
|
||||
cityScreen.selectedConstruction = null
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue