mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-11 11:28:03 +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
|
fun isSetUpForSiege() = action == UnitActionType.SetUp.value
|
||||||
|
|
||||||
/** For display in Unit Overview */
|
/** 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 isMilitary() = baseUnit.isMilitary()
|
||||||
fun isCivilian() = baseUnit.isCivilian()
|
fun isCivilian() = baseUnit.isCivilian()
|
||||||
|
Loading…
Reference in New Issue
Block a user