Game Development Community

RunWithEditors in 1.1.2

by Andy Hawkins · in Torque Game Builder · 10/13/2006 (6:04 pm) · 0 replies

After downloading the 1.1.2 update when I use $runWithEditor = false in main.cs for TGB it displays blank screen and wont jump straight into my game like it used to. I have to use $runWithEditor = true, then press F9 to run my game. I also used to comment out this code in main.cs for my game to get it to run the game immediately with no editor but it not longer functions and sits on a blank screen. How do I correctly set the game to run with out the editor, without having to package it please?

if ($runWithEditors)
   {
      toggleLevelEditor();
      return;
   }