From 8376c8e9873f29d0f94ce066d513ca76e50a507c Mon Sep 17 00:00:00 2001 From: Zachary McAlpin 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 854f3ddfe..5cfd1bd3d 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 +}