Skip to content

Commit

Permalink
enable cheats for github version
Browse files Browse the repository at this point in the history
  • Loading branch information
nroutasuo committed Nov 6, 2016
1 parent 8bc322e commit eb93851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/level13-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require([

// TODO define when cheats are enabled neater
var isLocal = document.URL.indexOf("file:///") >= 0;
var isGithub = document.URL.indexOf("github.com/nroutasuo") >= 0;
var isGithub = document.URL.indexOf("nroutasuo.github") >= 0;
GameConstants.isCheatsEnabled = isLocal || isGithub;
GameConstants.isDebugOutputEnabled = isLocal;

Expand Down

0 comments on commit eb93851

Please sign in to comment.