From bd3a0da2e66490885ccd64853c8d8c7b5bcf83aa Mon Sep 17 00:00:00 2001 From: Duan Tao Date: Mon, 22 Apr 2019 11:48:12 +0800 Subject: [PATCH] Fixed : Pillaging destroyed improvement even on land. --- 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 31abde4f24..f5d27327f7 100644 --- a/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt +++ b/core/src/com/unciv/ui/worldscreen/unit/UnitActions.kt @@ -92,13 +92,13 @@ class UnitActions { if(!unit.type.isCivilian() && tile.improvement !=null){ actionList += UnitAction("Pillage", unit.currentMovement>0) { - tile.improvement = null // http://well-of-souls.com/civ/civ5_improvements.html says that naval improvements are destroyed upon pilllage // and I can't find any other sources so I'll go with that if(tile.isLand()) { tile.improvementInProgress = tile.improvement tile.turnsToImprovement = 2 } + tile.improvement = null unit.useMovementPoints(1f) unit.health = min(100,unit.health+25) }