fix: API
This commit is contained in:
parent
aab17617c0
commit
cbc9449005
|
@ -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(),
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user