mirror of
https://github.com/overte-org/overte.git
synced 2025-04-24 05:53:29 +02:00
fix bug in gun.js: unplayed target delete sound
This commit is contained in:
parent
6e53ecf6a0
commit
f6c98a1cc2
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue