字典:后台重载bug
This commit is contained in:
@@ -12,6 +12,8 @@ export interface DicApBuy {
|
||||
export const dicApMaxBuyTimes = { max: 0 };
|
||||
export const dicApBuy = new Map<number, RewardInter[]>();
|
||||
export function loadApBuy() {
|
||||
dicApMaxBuyTimes.max = 0;
|
||||
dicApBuy.clear();
|
||||
let arr = readFileAndParse(FILENAME.DIC_AP_BUY_COST);
|
||||
arr.forEach(o => {
|
||||
o.cost = parseGoodStr(o.cost);
|
||||
|
||||
Reference in New Issue
Block a user