From 6eccc7030d8afccec76f285b70f2aa5a1ddf1897 Mon Sep 17 00:00:00 2001 From: Zachary McAlpin <choalover@gmail.com> Date: Fri, 12 Jun 2020 07:50:57 -0500 Subject: [PATCH] I forgot to pop the error handler --- src/lua_hooklib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lua_hooklib.c b/src/lua_hooklib.c index 854f3ddfee..5cfd1bd3d4 100644 --- a/src/lua_hooklib.c +++ b/src/lua_hooklib.c @@ -1793,4 +1793,6 @@ void LUAh_GameQuit(void) hookp->error = true; } } -} \ No newline at end of file + + lua_pop(gL, 1); // Pop error handler +} -- GitLab