take damage on wall hit

This commit is contained in:
Kevin Ngo
2018-10-13 09:42:11 -07:00
parent 1ba3bd1492
commit 1037e58408

View File

@@ -245,6 +245,10 @@ AFRAME.registerState({
victory: function (state) {
state.isVictory = true;
},
wallhitstart: function (state) {
takeDamage(state);
}
},