mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-31 09:57:21 +07:00
Merge branch '3.9.16-1'
This commit is contained in:
commit
0be86a6cb2
@ -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"
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user