take damage on wall hit
This commit is contained in:
@@ -245,6 +245,10 @@ AFRAME.registerState({
|
||||
|
||||
victory: function (state) {
|
||||
state.isVictory = true;
|
||||
},
|
||||
|
||||
wallhitstart: function (state) {
|
||||
takeDamage(state);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user