Jester stomp sounds, not step !
This commit is contained in:
@@ -107,7 +107,10 @@ export class RemoteEntity extends Entity {
|
||||
this.update_walk_animation();
|
||||
if (this.swing_ticks !== undefined && ++this.swing_ticks >= SWING_TICKS) this.swing_ticks = undefined;
|
||||
if (!this.dead) {
|
||||
this.play_steps(sound_of(this.#sounds, "step"));
|
||||
this.play_steps(() => {
|
||||
const own = sound_of(this.#sounds, "step");
|
||||
return this.animation ? this.animation.step_sound(own) : own;
|
||||
});
|
||||
if (--this.#ambient_ticks <= 0) {
|
||||
this.#ambient_ticks = random_ambient_ticks();
|
||||
sounds.play_of(this.#sounds, "ambient", { follow: this.id });
|
||||
|
||||
Reference in New Issue
Block a user