From fe0049db8c69e4a9b22ef77162f38820cb483453 Mon Sep 17 00:00:00 2001 From: grubsteak Date: Thu, 17 May 2018 23:29:10 -0500 Subject: [PATCH] enable lua api construction functions it seems this has been left out on accident? --- library/LuaApi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/LuaApi.cpp b/library/LuaApi.cpp index 0bf19e93e..437101e25 100644 --- a/library/LuaApi.cpp +++ b/library/LuaApi.cpp @@ -2977,7 +2977,7 @@ void OpenDFHackApi(lua_State *state) OpenModule(state, "world", dfhack_world_module, dfhack_world_funcs); OpenModule(state, "burrows", dfhack_burrows_module, dfhack_burrows_funcs); OpenModule(state, "buildings", dfhack_buildings_module, dfhack_buildings_funcs); - OpenModule(state, "constructions", dfhack_constructions_module); + OpenModule(state, "constructions", dfhack_constructions_module, dfhack_constructions_funcs); OpenModule(state, "screen", dfhack_screen_module, dfhack_screen_funcs); OpenModule(state, "filesystem", dfhack_filesystem_module, dfhack_filesystem_funcs); OpenModule(state, "designations", dfhack_designations_module, dfhack_designations_funcs);