From dc962dc542600240c17733bd6f1867553e7d09f3 Mon Sep 17 00:00:00 2001 From: Kevin Ngo Date: Tue, 20 Nov 2018 02:16:38 -0800 Subject: [PATCH] uncomment takeDamage combo breaker (fixes #201) --- src/state/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/state/index.js b/src/state/index.js index 9f2adce..e18a285 100644 --- a/src/state/index.js +++ b/src/state/index.js @@ -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);