Fixed compilation error

This commit is contained in:
Yair Morgenstern
2023-12-08 13:31:34 +02:00
parent aa1b5af19d
commit ee8f8a3c89
2 changed files with 3 additions and 1 deletions

View File

@ -81,8 +81,10 @@ object UnitActions {
actionList += getPromoteActions(unit, unit.currentTile)
actionList += UnitActionsUpgrade.getUnitUpgradeActions(unit, unit.currentTile)
actionList += UnitActionsPillage.getPillageActions(unit, unit.currentTile)
actionList += getSleepActions(unit, tile)
actionList += getSleepUntilHealedActions(unit, tile)
addFortifyActions(actionList, unit, false)
if (unit.isMilitary()) actionList += getExplorationActions(unit, unit.currentTile)

View File

@ -30,7 +30,7 @@ object UnitActionsPillage {
"Pillage",
true
) {
pillageAction.action()
(pillageAction.action)()
GUI.setUpdateWorldOnNextRender()
}.open()
}