Merge branch 'guard-luaclose' of https://github.com/argrath/NetHack into pr616

This commit is contained in:
nhmall
2021-10-21 13:30:42 -04:00

View File

@@ -1375,7 +1375,8 @@ nhl_init(void)
void
nhl_done(lua_State *L)
{
lua_close(L);
if (L)
lua_close(L);
iflags.in_lua = FALSE;
}