[project @ 2006-02-03 22:08:15 by unknown_lamer]
authorunknown_lamer <unknown>
Fri, 3 Feb 2006 22:08:15 +0000 (22:08 +0000)
committerunknown_lamer <unknown>
Fri, 3 Feb 2006 22:08:15 +0000 (22:08 +0000)
Moved Interp::Startup call to after the Bot is created

source/Main.C

index 8b46061..06f01f0 100644 (file)
@@ -250,6 +250,7 @@ namespace
            }
       }
 
+    b = new Bot(configFile, debug);
 #ifdef USESCRIPTS
     Interp::Startup();
     if (debug || script_debug)
@@ -260,8 +261,6 @@ namespace
        SCM_RESET_DEBUG_MODE;
       }
 #endif
-
-    b = new Bot(configFile, debug);
     b->run();
     delete b;