diff options
Diffstat (limited to 'scripts/gui/siege-engine.lua')
| -rw-r--r-- | scripts/gui/siege-engine.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/gui/siege-engine.lua b/scripts/gui/siege-engine.lua index c98cb167..f460bb21 100644 --- a/scripts/gui/siege-engine.lua +++ b/scripts/gui/siege-engine.lua @@ -74,6 +74,10 @@ function SiegeEngine:onDestroy() end end +function SiegeEngine:onGetSelectedBuilding() + return df.global.world.selected_building +end + function SiegeEngine:showCursor(enable) local cursor = guidm.getCursorPos() if cursor and not enable then |
