From 0d2de2ba9c616862d7881f089382db772d034f89 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 27 Oct 2019 17:25:16 -0400 Subject: Various updates --- src/shared/lua_api/common.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/lua_api/common.cpp') diff --git a/src/shared/lua_api/common.cpp b/src/shared/lua_api/common.cpp index 9b833fe..b26c3cc 100644 --- a/src/shared/lua_api/common.cpp +++ b/src/shared/lua_api/common.cpp @@ -8,6 +8,8 @@ extern "C" { #include #include "common.hpp" +#define set_const(l,x) lua_pushstring(l,#x);lua_pushinteger(l,x);lua_settable(l,-3); + //Expose things to the lua state void loadLLibs(lua_State* L){ -- cgit v1.2.3-70-g09d2