mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 23:08:35 +07:00
Fixed compilation error
This commit is contained in:
@ -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)
|
||||
|
@ -30,7 +30,7 @@ object UnitActionsPillage {
|
||||
"Pillage",
|
||||
true
|
||||
) {
|
||||
pillageAction.action()
|
||||
(pillageAction.action)()
|
||||
GUI.setUpdateWorldOnNextRender()
|
||||
}.open()
|
||||
}
|
||||
|
Reference in New Issue
Block a user