lua_hourglass: try to fix hide on exit

This commit is contained in:
Jacek Jendrzej
2021-11-20 10:33:26 +01:00
parent b0067f83ca
commit 89b8d5fbbf

View File

@@ -139,6 +139,7 @@ int CLuaInstHourGlass::HourGlassDelete(lua_State *L)
LUA_DEBUG("CLuaInstHourGlass::%s %d\n", __func__, lua_gettop(L));
CLuaHourGlass *D = HourGlassCheck(L, 1);
if (!D) return 0;
D->h->kill();
delete D;
return 0;
}