reduce THEME->UpdateLuaGlobals() to LUA->RegisterTypes

This commit is contained in:
Glenn Maynard
2006-09-21 03:55:22 +00:00
parent 01c4e531d9
commit 92ade8fa90
+1 -4
View File
@@ -1087,10 +1087,7 @@ int main(int argc, char* argv[])
SCREENMAN = new ScreenManager;
// UGLY: Now that all global singletons are constructed, let them all register with Lua.
//
// ResetState wipes out method tables. We need to call UpdateLuaGlobals, so
// we re-run scripts that may add to them.
THEME->UpdateLuaGlobals();
LUA->RegisterTypes();
StepMania::ResetGame();