diff --git a/src/nitro/sound/SoundManager.ts b/src/nitro/sound/SoundManager.ts index 6e370067..061cce65 100644 --- a/src/nitro/sound/SoundManager.ts +++ b/src/nitro/sound/SoundManager.ts @@ -111,7 +111,7 @@ export class SoundManager extends NitroManager if(!sample) { - const sampleUrl = Nitro.instance.getConfiguration('internal.samples.url'); + const sampleUrl = Nitro.instance.core.configuration.interpolate(Nitro.instance.getConfiguration('sounds.url')); sample = new Audio(sampleUrl.replace('%sample%', code)); this._internalSamples.add(code, sample); @@ -126,7 +126,7 @@ export class SoundManager extends NitroManager if(!sample) { - const sampleUrl = Nitro.instance.getConfiguration('external.samples.url'); + const sampleUrl = Nitro.instance.core.configuration.interpolate(Nitro.instance.getConfiguration('external.samples.url')); sample = new Audio(sampleUrl.replace('%sample%', code.toString())); this._furniSamples.add(code, sample);