This commit is contained in:
cha0s 2021-01-21 19:27:23 -06:00
parent aab17617c0
commit cbc9449005

View File

@ -76,7 +76,7 @@ export default (latus) => class Audible extends Trait {
hasSound: (key) => !!this.#sounds[key],
playSound: (key) => this.hasSound(key) && this.#sounds[key].play(),
playSound: (key) => this.entity.hasSound(key) && this.#sounds[key].play(),
};
}