fix repeated calls
This commit is contained in:
parent
e6604491a9
commit
a2c896f765
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ export function aliasBank(alias, bank) {
|
||||||
soundsToAdd[`${alias}_${soundSuffix}`] = _soundMap[soundName];
|
soundsToAdd[`${alias}_${soundSuffix}`] = _soundMap[soundName];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
soundMap.set(soundsToAdd);
|
soundMap.set({ ..._soundMap, ...soundsToAdd });
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getSound(s) {
|
export function getSound(s) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue