diff --git a/src/state/index.js b/src/state/index.js index cdc66b2..4c02d2b 100644 --- a/src/state/index.js +++ b/src/state/index.js @@ -311,6 +311,7 @@ function difficultyComparator (a, b) { } function takeDamage (state) { + if (AFRAME.utils.getUrlParameter('godmode')) { return; } if (!state.isPlaying) { return; } state.damage++; state.score.combo = 0;