From 8d81ef880602bff8e1610fb650c73c7e1ca945d5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 21 Sep 2006 04:06:44 +0000 Subject: [PATCH] init Lua earlier --- stepmania/src/StepMania.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 652615b47c..2c8a0dc13a 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -923,6 +923,7 @@ int main(int argc, char* argv[]) #endif #endif + LUA = new LuaManager; /* Almost everything uses this to read and write files. Load this early. */ FILEMAN = new RageFileManager( argv[0] ); @@ -993,7 +994,6 @@ int main(int argc, char* argv[]) // Create game objects // - LUA = new LuaManager; GAMESTATE = new GameState; /* This requires PREFSMAN, for PREFSMAN->m_bShowLoadingWindow. */