json:fix数组重复加载的bug
This commit is contained in:
@@ -13,6 +13,7 @@ export interface DicHeroRewads {
|
||||
|
||||
export const dicHeroRewads = new Array<DicHeroRewads>();
|
||||
export function loadPvpHeroReward() {
|
||||
dicHeroRewads.splice(0, dicHeroRewads.length);
|
||||
let arr = readFileAndParse(FILENAME.DIC_PVP_HERO_REWARD);
|
||||
|
||||
arr.forEach(o => {
|
||||
|
||||
Reference in New Issue
Block a user