mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 14:16:36 +02:00
Merge pull request #5746 from imgntn/bubblewand_hotfix_1
Run cleanup when createWand.js ends; Don't delete bubbles on collision (for now)
This commit is contained in:
commit
ae8c3a19ed
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
};
|
||||
|
|
|
@ -35,7 +35,7 @@ var wand = Entities.addEntity({
|
|||
});
|
||||
|
||||
function cleanup() {
|
||||
//Entities.deleteEntity(wand);
|
||||
Entities.deleteEntity(wand);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue