Skip to content

Commit

Permalink
"Replay" does not just reload
Browse files Browse the repository at this point in the history
And in my opinion, users usually aren't interested in whether it reloads or not: they just want to play again
  • Loading branch information
igrep committed Apr 27, 2024
1 parent 4c0ec18 commit e5ead65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/end/gameOver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function gameOver(blocks: Block[], options: StartOptions) {
marginTop: "20px",
fontSize: "20px"
})
replayButton.textContent = "Replay(Reload Page)"
replayButton.textContent = "Replay"
replayButton.onclick = () => {
replay(options)
}
Expand Down

0 comments on commit e5ead65

Please sign in to comment.