Make playSound method in RuntimeAudioSystem accept null for link parameter and update RuntimeInteractionSystem to handle new control effects
This commit is contained in:
@@ -147,7 +147,7 @@ export class RuntimeAudioSystem {
|
||||
});
|
||||
}
|
||||
|
||||
playSound(soundEmitterId: string, link: InteractionLink) {
|
||||
playSound(soundEmitterId: string, link: InteractionLink | null = null) {
|
||||
const soundEmitter = this.soundEmitters.get(soundEmitterId);
|
||||
|
||||
if (soundEmitter === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user