mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-31 15:19:29 +07:00
Replace "moveTo" in unit overview with "Moving" (#7457)
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user