mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-25 04:43:05 -04:00
Fixed compilation error
This commit is contained in:
parent
aa1b5af19d
commit
ee8f8a3c89
@ -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()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user