minor fix

This commit is contained in:
Spmario233 2024-05-05 01:49:05 +08:00
parent 40dfb97076
commit bb70745754
1 changed files with 1 additions and 2 deletions

View File

@ -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 {