🐞 fix(百家争鸣): 单次抽卡会有多次结果
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user