fix bug in gun.js: unplayed target delete sound

This commit is contained in:
Andrew Meadows 2014-04-04 10:40:55 -07:00
parent 6e53ecf6a0
commit f6c98a1cc2

View file

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