From 6326eba6d844d079edf51b44bab8b9f9c21a8fb7 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 10 Feb 2019 18:07:03 -0500 Subject: Added the pusherrfunc into the common lua functions Added a header for pusherrorfunc(lua_State* L) to the shared/lua_api/common.hpp header also deleted some prints, and fixed a bug that would show up in an edge case of printing error messages. --- src/shared/lua_api/common.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/lua_api/common.hpp') diff --git a/src/shared/lua_api/common.hpp b/src/shared/lua_api/common.hpp index 583ab1e..ba89521 100644 --- a/src/shared/lua_api/common.hpp +++ b/src/shared/lua_api/common.hpp @@ -23,4 +23,6 @@ int popvector2i(lua_State*,long*,long*); int poprecti(lua_State* L,long*,long*,long*,long*); int pushrecti(lua_State* L,long,long,long,long); + +void pusherrorfunc(lua_State *L); #endif -- cgit v1.2.3-70-g09d2