From a7bbea106cf139f0b321e6b52e7b9f8effdb5d46 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Tue, 8 Jan 2019 18:45:06 +0200 Subject: [PATCH] Resolved #407 - units cannot pillage when at full health --- core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt b/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt index c49e90fc44..f17ad5dc57 100644 --- a/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt +++ b/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt @@ -96,7 +96,7 @@ class UnitActions { } } - if(!unit.type.isCivilian() && tile.improvement !=null && unit.health<100){ + if(!unit.type.isCivilian() && tile.improvement !=null){ actionList += UnitAction("Pillage", unit.currentMovement>0) { tile.improvementInProgress = tile.improvement