This commit is contained in:
Diego F. Goberna
2018-10-10 02:01:02 +02:00
parent b7e36bf760
commit 3efc816a5b
4 changed files with 0 additions and 73 deletions

View File

@@ -20,7 +20,6 @@ AFRAME.registerComponent('pauser', {
events.forEach(event => {
this.el.addEventListener(event, this.pauseGame);
});
document.addEventListener('keydown', this.pauseGame);
},
pauseGame: function () {