diff --git a/examples/toys/bubblewand/bubble.js b/examples/toys/bubblewand/bubble.js index 05b625c124..3cc68fecfa 100644 --- a/examples/toys/bubblewand/bubble.js +++ b/examples/toys/bubblewand/bubble.js @@ -26,7 +26,7 @@ this.collisionWithEntity = function(myID, otherID, collision) { //if(Entites.getEntityProperties(otherID).userData.objectType==='') { merge bubbles?} - Entities.deleteEntity(myID); + // Entities.deleteEntity(myID); // this.burstBubbleSound(collision.contactPoint) }; diff --git a/examples/toys/bubblewand/createWand.js b/examples/toys/bubblewand/createWand.js index d5204c8075..15c347d62a 100644 --- a/examples/toys/bubblewand/createWand.js +++ b/examples/toys/bubblewand/createWand.js @@ -35,7 +35,7 @@ var wand = Entities.addEntity({ }); function cleanup() { - //Entities.deleteEntity(wand); + Entities.deleteEntity(wand); }