[project @ 2006-06-29 00:17:49 by unknown_lamer]
[clinton/bobotpp.git] / source / Bot.C
index 9617219..25e2f92 100644 (file)
@@ -161,8 +161,8 @@ Bot::Bot(String filename, bool debug_on)
   std::srand (std::time (0)); // srand for bot-random
 
 #ifdef USESCRIPTS
-  Interp::Startup2 ();
   botInterp = new BotInterp(this, logs_dir + scriptLogFileName);
+  Interp::Startup2 (this);
   botInterp->LoadScript(autoexecFileName);
 #endif
 }