From ee6082c394e1061a00b6e0385525fc854f6b278e Mon Sep 17 00:00:00 2001 From: itanasi <44038014+itanasi@users.noreply.github.com> Date: Tue, 19 Jul 2022 05:01:42 -0700 Subject: [PATCH] Replace "moveTo" in unit overview with "Moving" (#7457) --- core/src/com/unciv/logic/map/MapUnit.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/map/MapUnit.kt b/core/src/com/unciv/logic/map/MapUnit.kt index 1a73e749c5..0ded0bb80c 100644 --- a/core/src/com/unciv/logic/map/MapUnit.kt +++ b/core/src/com/unciv/logic/map/MapUnit.kt @@ -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()