Resolved #407 - units cannot pillage when at full health

This commit is contained in:
Yair Morgenstern 2019-01-08 18:45:06 +02:00
parent 2fdd3e2628
commit a7bbea106c

View file

@ -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