uncomment takeDamage combo breaker (fixes #201)

This commit is contained in:
Kevin Ngo
2018-11-20 02:16:38 -08:00
parent f8a2033c76
commit dc962dc542

View File

@@ -516,12 +516,10 @@ function difficultyComparator (a, b) {
function takeDamage (state) {
if (!state.isPlaying) { return; }
/*
state.score.combo = 0;
state.score.multiplier = state.score.multiplier > 1
? Math.ceil(state.score.multiplier / 2)
: 1;
*/
if (AFRAME.utils.getUrlParameter('godmode')) { return; }
state.damage++;
checkGameOver(state);