mirror of
https://github.com/overte-org/overte.git
synced 2025-07-22 22:34:12 +02:00
Cleanup wand when createWand.js script ends
This commit is contained in:
parent
1df3a8f814
commit
66b6d5178f
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
this.collisionWithEntity = function(myID, otherID, collision) {
|
this.collisionWithEntity = function(myID, otherID, collision) {
|
||||||
//if(Entites.getEntityProperties(otherID).userData.objectType==='') { merge bubbles?}
|
//if(Entites.getEntityProperties(otherID).userData.objectType==='') { merge bubbles?}
|
||||||
Entities.deleteEntity(myID);
|
// Entities.deleteEntity(myID);
|
||||||
// this.burstBubbleSound(collision.contactPoint)
|
// this.burstBubbleSound(collision.contactPoint)
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -35,7 +35,7 @@ var wand = Entities.addEntity({
|
||||||
});
|
});
|
||||||
|
|
||||||
function cleanup() {
|
function cleanup() {
|
||||||
//Entities.deleteEntity(wand);
|
Entities.deleteEntity(wand);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue