mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-20 12:48:56 +07:00
Merge tag '3.7.5-patch1'
This commit is contained in:
@ -33,8 +33,8 @@ allprojects {
|
|||||||
version = '1.0.1'
|
version = '1.0.1'
|
||||||
ext {
|
ext {
|
||||||
appName = "Unciv"
|
appName = "Unciv"
|
||||||
appCodeNumber = 411
|
appCodeNumber = 412
|
||||||
appVersion = "3.7.5"
|
appVersion = "3.7.5-patch1"
|
||||||
|
|
||||||
gdxVersion = '1.9.10'
|
gdxVersion = '1.9.10'
|
||||||
roboVMVersion = '2.3.1'
|
roboVMVersion = '2.3.1'
|
||||||
|
@ -260,7 +260,7 @@ class TechManager {
|
|||||||
for (city in civInfo.cities)
|
for (city in civInfo.cities)
|
||||||
for(constructionName in city.cityConstructions.constructionQueue.toList()){ // copy, since we're changing the queue
|
for(constructionName in city.cityConstructions.constructionQueue.toList()){ // copy, since we're changing the queue
|
||||||
if(constructionName !in obsoleteUnits) continue
|
if(constructionName !in obsoleteUnits) continue
|
||||||
val constructionUnit = city.cityConstructions.getCurrentConstruction() as BaseUnit
|
val constructionUnit = city.cityConstructions.getConstruction(constructionName) as BaseUnit
|
||||||
city.cityConstructions.constructionQueue.replaceAll { if(it==constructionName) constructionUnit.upgradesTo!! else it }
|
city.cityConstructions.constructionQueue.replaceAll { if(it==constructionName) constructionUnit.upgradesTo!! else it }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user