Skip to content

Commit

Permalink
Strengthen static level name vars for UI
Browse files Browse the repository at this point in the history
  • Loading branch information
tyson-kubota committed Dec 21, 2016
1 parent 49fc69d commit 99b6e8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion IntroUITrigger.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trigger3
};

var helpIcon: UISprite;
var thisIcon : String = "level1";
var thisIcon : String;
var thisTimer : float = 8;
var thisTrigger : Triggers;
var tutorialSprite : UISprite;
Expand Down
8 changes: 4 additions & 4 deletions fallingStartMenuUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ var TogglingTiltNeutral : boolean = false;

var levelToLoad : String = "";

var level1 : String = "Falling-scene-tutorial";
var level2 : String = "Falling-scene2";
var level3 : String = "Falling-scene3";
var level4 : String = "Falling-scene4";
static var level1 : String = "Falling-scene-tutorial";
static var level2 : String = "Falling-scene2";
static var level3 : String = "Falling-scene3";
static var level4 : String = "Falling-scene4";

var level2Unlocked : boolean = false;
var level3Unlocked : boolean = false;
Expand Down

0 comments on commit 99b6e8e

Please sign in to comment.