mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-13 01:08:25 +07:00
Fixed compilation error
This commit is contained in:
@ -81,8 +81,10 @@ object UnitActions {
|
|||||||
actionList += getPromoteActions(unit, unit.currentTile)
|
actionList += getPromoteActions(unit, unit.currentTile)
|
||||||
actionList += UnitActionsUpgrade.getUnitUpgradeActions(unit, unit.currentTile)
|
actionList += UnitActionsUpgrade.getUnitUpgradeActions(unit, unit.currentTile)
|
||||||
actionList += UnitActionsPillage.getPillageActions(unit, unit.currentTile)
|
actionList += UnitActionsPillage.getPillageActions(unit, unit.currentTile)
|
||||||
|
|
||||||
actionList += getSleepActions(unit, tile)
|
actionList += getSleepActions(unit, tile)
|
||||||
actionList += getSleepUntilHealedActions(unit, tile)
|
actionList += getSleepUntilHealedActions(unit, tile)
|
||||||
|
|
||||||
addFortifyActions(actionList, unit, false)
|
addFortifyActions(actionList, unit, false)
|
||||||
|
|
||||||
if (unit.isMilitary()) actionList += getExplorationActions(unit, unit.currentTile)
|
if (unit.isMilitary()) actionList += getExplorationActions(unit, unit.currentTile)
|
||||||
|
@ -30,7 +30,7 @@ object UnitActionsPillage {
|
|||||||
"Pillage",
|
"Pillage",
|
||||||
true
|
true
|
||||||
) {
|
) {
|
||||||
pillageAction.action()
|
(pillageAction.action)()
|
||||||
GUI.setUpdateWorldOnNextRender()
|
GUI.setUpdateWorldOnNextRender()
|
||||||
}.open()
|
}.open()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user