diff --git a/src/lua_baselib.c b/src/lua_baselib.c
index ab12a301f9b7d0f899104c80cd2c49b42d32550d..6adf5b1599a8b5d06120702f229a134155111c75 100644
--- a/src/lua_baselib.c
+++ b/src/lua_baselib.c
@@ -4199,9 +4199,6 @@ static int lib_gSetCustomExitVars(lua_State *L)
 // Gets nextmapoverride, skipstats and nextgametype for any other use
 static int lib_gGetCustomExitVars(lua_State* L)
 {
-	NOHUD
-	INLEVEL
-
 	lua_pushinteger(L, nextmapoverride);
 	lua_pushinteger(L, skipstats);
 	lua_pushinteger(L, nextgametype);