🐞 fix(百家争鸣): 单次抽卡会有多次结果

This commit is contained in:
luying
2023-09-08 17:48:59 +08:00
parent 13b3de7979
commit a64bbd004f

View File

@@ -29,6 +29,7 @@ export const dicGacha = new Map<number, DicGacha>(); // id => dic
export const dicGachaByGachaType = new Map<number, number[]>(); // gachaType => id
export function loadGacha() {
dicGacha.clear();
dicGachaByGachaType.clear();
let arr = readFileAndParse(FILENAME.DIC_GACHA);
arr.forEach(o => {