initial wall sound effect

This commit is contained in:
Kevin Ngo
2018-10-13 09:41:37 -07:00
parent ec306a80ae
commit 1ba3bd1492
7 changed files with 48 additions and 13 deletions

View File

@@ -307,6 +307,7 @@ function difficultyComparator (a, b) {
}
function takeDamage (state) {
if (!state.isPlaying) { return; }
state.damage++;
state.score.combo = 0;
checkGameOver(state);