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 => {
let key, file;
if(item.startsWith("ext:")){
const audioData = item.split(":");
key = audioData[2];
key = item.slice(4).split("/")[1];
file = item;
}
else {