From 4eb767c3f00ab8de73a17ba3d7e0027f16afed1f Mon Sep 17 00:00:00 2001 From: lethosor Date: Fri, 2 Jun 2017 15:39:49 -0400 Subject: [PATCH] Expose getDepthAt() to Lua --- library/LuaApi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/library/LuaApi.cpp b/library/LuaApi.cpp index ea834992a..a746118b8 100644 --- a/library/LuaApi.cpp +++ b/library/LuaApi.cpp @@ -1483,6 +1483,7 @@ static const LuaWrapper::FunctionReg dfhack_gui_module[] = { WRAPM(Gui, showPopupAnnouncement), WRAPM(Gui, showAutoAnnouncement), WRAPM(Gui, revealInDwarfmodeMap), + WRAPM(Gui, getDepthAt), { NULL, NULL } };