Skip to content

Commit

Permalink
Fix scoreboard restart to also reset score (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
menlocaleb authored Dec 9, 2023
1 parent 24fab84 commit 9084f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/scenes/railroad/js/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Game {

this.startLevel();
this.paused = false;
this.scoreboard.restart()
this.scoreboard.reset()

// Focus on the main button for keyboard controls after restarting.
this.containerButton.focus();
Expand Down

0 comments on commit 9084f0d

Please sign in to comment.