fix Lua stack leak

This commit is contained in:
Glenn Maynard
2005-05-07 19:40:52 +00:00
parent 082c38688f
commit eb7dd8e45c
+1 -1
View File
@@ -167,7 +167,7 @@ void MenuTimer::SetText( float fSeconds )
lua_call(LUA->L, 1, 1);
CString sText;
LuaHelpers::FromStack( sText, -1, LUA->L );
LuaHelpers::PopStack( sText, LUA->L );
m_text[i].SetText( sText );
}