From 76b2e4e9756ea379e939249874764abc44527756 Mon Sep 17 00:00:00 2001 From: Daniel Buckmaster Date: Sat, 16 Aug 2014 11:52:50 +1000 Subject: [PATCH] Fixed template scripts. --- Templates/Empty/game/main.cs.in | 5 ++++- Templates/Full/game/main.cs.in | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Templates/Empty/game/main.cs.in b/Templates/Empty/game/main.cs.in index dbabc4a2f..d3b5791ef 100644 --- a/Templates/Empty/game/main.cs.in +++ b/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)) diff --git a/Templates/Full/game/main.cs.in b/Templates/Full/game/main.cs.in index dbabc4a2f..d3b5791ef 100644 --- a/Templates/Full/game/main.cs.in +++ b/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))