mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 22:33:04 +02:00
Merge pull request #16177 from MiladNazeri/DEV-565/Reconsider-the-emoji-pop-sound-on-the-out-animation
DEV-565/Reconsider-the-emoji-pop-sound-on-the-out-animation
This commit is contained in:
commit
3cfb4db36e
2 changed files with 0 additions and 3 deletions
Binary file not shown.
|
@ -48,7 +48,6 @@ var UTF_CODE = 0;
|
|||
// Only plays a sound if it is downloaded.
|
||||
// Only plays one sound at a time.
|
||||
var emojiCreateSound = SoundCache.getSound(Script.resolvePath('resources/sounds/emojiPopSound1.wav'));
|
||||
var emojiDestroySound = SoundCache.getSound(Script.resolvePath('resources/sounds/emojiPopSound2.wav'));
|
||||
var injector;
|
||||
var DEFAULT_VOLUME = 0.01;
|
||||
var local = false;
|
||||
|
@ -326,9 +325,7 @@ function playPopAnimation() {
|
|||
if (popType === "in") {
|
||||
currentPopScale = MIN_POP_SCALE;
|
||||
} else {
|
||||
// Start with the pop sound on the out
|
||||
currentPopScale = finalInPopScale ? finalInPopScale : MAX_POP_SCALE;
|
||||
playSound(emojiDestroySound, DEFAULT_VOLUME, MyAvatar.position, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue