minor fix
This commit is contained in:
parent
40dfb97076
commit
bb70745754
|
@ -1611,8 +1611,7 @@ export class Game {
|
||||||
dieAudios.forEach(item => {
|
dieAudios.forEach(item => {
|
||||||
let key, file;
|
let key, file;
|
||||||
if(item.startsWith("ext:")){
|
if(item.startsWith("ext:")){
|
||||||
const audioData = item.split(":");
|
key = item.slice(4).split("/")[1];
|
||||||
key = audioData[2];
|
|
||||||
file = item;
|
file = item;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue