mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 09:52:18 +02:00
Only play animation once for screaming doll when picked up
This commit is contained in:
parent
a71f1495e9
commit
30198aa6f2
1 changed files with 2 additions and 2 deletions
|
@ -23,11 +23,11 @@
|
|||
var screamSoundDirectory = HIFI_PUBLIC_BUCKET + "eric/sounds/"
|
||||
this.screamSounds = [SoundCache.getSound(screamSoundDirectory + "dollScream2.wav?=v2"), SoundCache.getSound(screamSoundDirectory + "dollScream1.wav?=v2")];
|
||||
this.startAnimationSetting = JSON.stringify({
|
||||
running: true
|
||||
running: true,
|
||||
lastFrame: 64
|
||||
});
|
||||
|
||||
this.stopAnimationSetting = JSON.stringify({
|
||||
frameIndex: 0,
|
||||
running: false
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue