Skip to content
Snippets Groups Projects
Commit aa5c1c50 authored by Kevin Lee's avatar Kevin Lee
Browse files

invert check

parent 890d21d7
No related branches found
No related tags found
Loading
......@@ -22,7 +22,7 @@ AFRAME.registerComponent("super-spawner", {
pause: function() {
this.el.removeEventListener("grab-start", this.handleGrabStart);
if (!this.timeout) {
if (this.timeout) {
clearTimeout(this.timeout);
this.timeout = null;
this.el.setAttribute("visible", true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment