Whoops wrong field

This commit is contained in:
Yair Morgenstern 2020-11-20 13:45:45 +02:00
parent f40c0ad8b3
commit 2d2117936e

View File

@ -187,7 +187,7 @@ object SpecificUnitAutomation {
}
unit.movement.headTowards(bestCityLocation)
if (unit.getTile() == bestCityLocation && unit.movement > 0)
if (unit.getTile() == bestCityLocation && unit.currentMovement > 0)
foundCityAction.action.invoke()
}