mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-11 03:18:18 +07:00
Replace "moveTo" in unit overview with "Moving" (#7457)
This commit is contained in:
parent
aa8cbb49a3
commit
ee6082c394
@ -443,7 +443,7 @@ class MapUnit : IsPartOfGameInfoSerialization {
|
||||
fun isSetUpForSiege() = action == UnitActionType.SetUp.value
|
||||
|
||||
/** For display in Unit Overview */
|
||||
fun getActionLabel() = if (action == null) "" else if (isFortified()) UnitActionType.Fortify.value else action!!
|
||||
fun getActionLabel() = if (action == null) "" else if (isFortified()) UnitActionType.Fortify.value else if (isMoving()) "Moving" else action!!
|
||||
|
||||
fun isMilitary() = baseUnit.isMilitary()
|
||||
fun isCivilian() = baseUnit.isCivilian()
|
||||
|
Loading…
Reference in New Issue
Block a user