improve beam resume out of pause menu

This commit is contained in:
Kevin Ngo
2018-10-08 17:30:13 -07:00
parent e6451b12e5
commit 8338f9e16f
6 changed files with 30 additions and 25 deletions

View File

@@ -147,6 +147,7 @@ AFRAME.registerState({
},
pausegame: (state) => {
if (!state.isPlaying) { return; }
state.isPaused = true;
},