init Lua earlier
This commit is contained in:
@@ -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. */
|
||||||
|
|||||||
Reference in New Issue
Block a user