Skip to content

Commit

Permalink
fix submit bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sfrancisw committed May 31, 2024
1 parent b59edc6 commit 426820e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine2shine/js/app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function startup() {
submitScoreButton.sprite.cursor = 'pointer';
submitScoreButton.sprite.eventMode = 'static';
submitScoreButton.sprite.on('pointerdown', function() {
if(!isBtnLoading) {
if(!isBtnLoading && score != 0) {
sendScore();
}
});
Expand Down

0 comments on commit 426820e

Please sign in to comment.