Cleanup wand when createWand.js script ends

This commit is contained in:
James Pollack 2015-09-08 17:25:39 -07:00
parent 1df3a8f814
commit 66b6d5178f
2 changed files with 2 additions and 2 deletions

View file

@ -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)
};

View file

@ -35,7 +35,7 @@ var wand = Entities.addEntity({
});
function cleanup() {
//Entities.deleteEntity(wand);
Entities.deleteEntity(wand);
}