Merge tag '3.7.5-patch1'
This commit is contained in:
commit
885f280747
2 changed files with 3 additions and 3 deletions
|
@ -33,8 +33,8 @@ allprojects {
|
|||
version = '1.0.1'
|
||||
ext {
|
||||
appName = "Unciv"
|
||||
appCodeNumber = 411
|
||||
appVersion = "3.7.5"
|
||||
appCodeNumber = 412
|
||||
appVersion = "3.7.5-patch1"
|
||||
|
||||
gdxVersion = '1.9.10'
|
||||
roboVMVersion = '2.3.1'
|
||||
|
|
|
@ -260,7 +260,7 @@ class TechManager {
|
|||
for (city in civInfo.cities)
|
||||
for(constructionName in city.cityConstructions.constructionQueue.toList()){ // copy, since we're changing the queue
|
||||
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 }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue