Skip to content

Commit

Permalink
Fixed start scene priority
Browse files Browse the repository at this point in the history
  • Loading branch information
Eemeli Kelokorpi committed May 22, 2014
1 parent 0cf5b20 commit 6dd0eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
},

Expand Down

0 comments on commit 6dd0eb4

Please sign in to comment.