From f6c98a1cc23107f2fa0c416510c1b0afde4d6e78 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Fri, 4 Apr 2014 10:40:55 -0700 Subject: [PATCH] fix bug in gun.js: unplayed target delete sound --- examples/gun.js | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/gun.js b/examples/gun.js index e358e6b391..3edb823bd1 100644 --- a/examples/gun.js +++ b/examples/gun.js @@ -176,7 +176,6 @@ function particleCollisionWithParticle(particle1, particle2) { print("hit, msecs = " + msecs); Particles.deleteParticle(particle1); Particles.deleteParticle(particle2); - audioOptions.position = newPosition; audioOptions.position = Vec3.sum(Camera.getPosition(), Quat.getFront(Camera.getOrientation())); Audio.playSound(targetHitSound, audioOptions); }