Only play animation once for screaming doll when picked up

This commit is contained in:
ericrius1 2015-09-21 11:22:35 -07:00
parent a71f1495e9
commit 30198aa6f2

View file

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