From 6dd0eb477299d07c2373c4dcb9da89f892325ea8 Mon Sep 17 00:00:00 2001 From: Eemeli Kelokorpi Date: Thu, 22 May 2014 12:01:52 +0300 Subject: [PATCH] Fixed start scene priority --- src/engine/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/core.js b/src/engine/core.js index 074c1980..42592d5a 100644 --- a/src/engine/core.js +++ b/src/engine/core.js @@ -323,7 +323,7 @@ var core = { this.plugins[name] = new (this.plugins[name])(); } - this.loader = new (loaderClass || this.Loader)(window[this.System.startScene] || this[this.System.startScene] || scene); + this.loader = new (loaderClass || this.Loader)(scene); if (!this.system.rotateScreenVisible) this.loader.start(); },