Skip to content

Commit

Permalink
put simple alert in to see if anyone see possibilities
Browse files Browse the repository at this point in the history
  • Loading branch information
jmort1021 committed Jan 27, 2025
1 parent 177979e commit c1146e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/js/platformer/GameSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ const GameSetup = {
// console.log(GameEnv.player?.x)
if (GameEnv.player?.x > GameEnv.innerWidth) {
GameEnv.player = null; // reset for next level
Leaderboard.openLeaderboardPanel();
//Leaderboard.openLeaderboardPanel();
alert("Level Complete! Click OK to continue to the next level.");
return true;
} else {
return false;
Expand Down

0 comments on commit c1146e6

Please # to comment.