mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
Remove unecessary interpolate
This commit is contained in:
parent
43f25ac472
commit
80daebc874
@ -111,7 +111,7 @@ export class SoundManager extends NitroManager
|
||||
|
||||
if(!sample)
|
||||
{
|
||||
const sampleUrl = Nitro.instance.core.configuration.interpolate(Nitro.instance.getConfiguration<string>('sounds.url'));
|
||||
const sampleUrl = Nitro.instance.getConfiguration<string>('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.core.configuration.interpolate(Nitro.instance.getConfiguration<string>('external.samples.url'));
|
||||
const sampleUrl = Nitro.instance.getConfiguration<string>('external.samples.url');
|
||||
|
||||
sample = new Audio(sampleUrl.replace('%sample%', code.toString()));
|
||||
this._furniSamples.add(code, sample);
|
||||
|
Loading…
Reference in New Issue
Block a user