init Lua earlier

This commit is contained in:
Glenn Maynard
2006-09-21 04:06:44 +00:00
parent 92ade8fa90
commit 8d81ef8806
+1 -1
View File
@@ -923,6 +923,7 @@ int main(int argc, char* argv[])
#endif #endif
#endif #endif
LUA = new LuaManager;
/* Almost everything uses this to read and write files. Load this early. */ /* Almost everything uses this to read and write files. Load this early. */
FILEMAN = new RageFileManager( argv[0] ); FILEMAN = new RageFileManager( argv[0] );
@@ -993,7 +994,6 @@ int main(int argc, char* argv[])
// Create game objects // Create game objects
// //
LUA = new LuaManager;
GAMESTATE = new GameState; GAMESTATE = new GameState;
/* This requires PREFSMAN, for PREFSMAN->m_bShowLoadingWindow. */ /* This requires PREFSMAN, for PREFSMAN->m_bShowLoadingWindow. */