Skip to content

Commit

Permalink
some bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mirrorcult committed Jan 26, 2022
1 parent 9b0c88f commit b25bb52
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/cosmetic/LevelComplete.as
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ package game.cosmetic
this.bestTime = new Text("No Best Time",160,180);
}

this.bestTime.scrollX = this.time.scrollY = 0;
this.bestTime.scrollX = this.bestTime.scrollY = 0;
this.bestTime.color = this.C_TEXT;
this.bestTime.alpha = 0;
this.bestTime.centerOO();
Expand Down
2 changes: 2 additions & 0 deletions src/game/engine/Level.as
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ package game.engine

if(Input.pressed("next"))
{
Assets.MusPowerOn.stop();
if (levelExists(mode, levelNum + 1))
{
Main.saveData.advanceLevels(player.coins, time, 1);
Expand All @@ -214,6 +215,7 @@ package game.engine
}
if(Input.pressed("back"))
{
Assets.MusPowerOn.stop();
if (levelExists(mode, levelNum - 1))
{
Main.saveData.advanceLevels(0, 0, -1);
Expand Down
2 changes: 1 addition & 1 deletion src/game/menus/GameTitle.as
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package game.menus
super(160,36);
graphic = this.list = new Graphiclist();
Text.size = 36;
this.two = new Text("1.4");
this.two = new Text("1.5");
this.two.color = 16777215;
this.two.centerOO();
this.two.y = this.two.y + 28;
Expand Down

0 comments on commit b25bb52

Please sign in to comment.