Merge branch '3.9.16-1'

This commit is contained in:
Yair Morgenstern 2020-07-31 10:34:42 +03:00
commit 0be86a6cb2
2 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@ package com.unciv.build
object BuildConfig {
const val kotlinVersion = "1.3.71"
const val appName = "Unciv"
const val appCodeNumber = 452
const val appVersion = "3.9.16"
const val appCodeNumber = 453
const val appVersion = "3.9.16-patch1"
const val gdxVersion = "1.9.10"
const val roboVMVersion = "2.3.1"

View File

@ -90,7 +90,7 @@ object UnitAutomation {
if (unit.civInfo.isBarbarian())
throw IllegalStateException("Barbarians is not allowed here.")
if(unit.type==UnitType.Civilian) {
if(unit.type.isCivilian()) {
if (unit.name == Constants.settler)
return SpecificUnitAutomation.automateSettlerActions(unit)