diff options
| author | Alexander Gavrilov | 2012-09-20 10:41:03 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-09-20 10:41:03 +0400 |
| commit | 7ce772ae0ea69ab26009a27d71bd681382ecfac7 (patch) | |
| tree | a4027707021d500286ec510a820068a9226ccfa5 /library/LuaApi.cpp | |
| parent | 1fd0654d635ebf8da74fb581eb8d3f16c98b0444 (diff) | |
| download | dfhack-7ce772ae0ea69ab26009a27d71bd681382ecfac7.tar.gz dfhack-7ce772ae0ea69ab26009a27d71bd681382ecfac7.tar.bz2 dfhack-7ce772ae0ea69ab26009a27d71bd681382ecfac7.tar.xz | |
Add an API function that returns the selected building.
Diffstat (limited to 'library/LuaApi.cpp')
| -rw-r--r-- | library/LuaApi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/LuaApi.cpp b/library/LuaApi.cpp index d73d14cf..b2d41dc1 100644 --- a/library/LuaApi.cpp +++ b/library/LuaApi.cpp @@ -760,6 +760,7 @@ static const LuaWrapper::FunctionReg dfhack_gui_module[] = { WRAPM(Gui, getSelectedJob), WRAPM(Gui, getSelectedUnit), WRAPM(Gui, getSelectedItem), + WRAPM(Gui, getSelectedBuilding), WRAPM(Gui, showAnnouncement), WRAPM(Gui, showZoomAnnouncement), WRAPM(Gui, showPopupAnnouncement), |
