Browse Source

Fixed template scripts.

Daniel Buckmaster 11 years ago
parent
commit
76b2e4e975
2 changed files with 8 additions and 2 deletions
  1. 4 1
      Templates/Empty/game/main.cs.in
  2. 4 1
      Templates/Full/game/main.cs.in

+ 4 - 1
Templates/Empty/game/main.cs.in

@@ -38,7 +38,10 @@ function createCanvas(%windowTitle)
    }
 
    // Create the Canvas
-   %foo = new GuiCanvas(Canvas);
+   %foo = new GuiCanvas(Canvas)
+   {
+      displayWindow = false;
+   };
    
    // Set the window title
    if (isObject(Canvas))

+ 4 - 1
Templates/Full/game/main.cs.in

@@ -38,7 +38,10 @@ function createCanvas(%windowTitle)
    }
 
    // Create the Canvas
-   %foo = new GuiCanvas(Canvas);
+   %foo = new GuiCanvas(Canvas)
+   {
+      displayWindow = false;
+   };
    
    // Set the window title
    if (isObject(Canvas))