字典:后台重载bug

This commit is contained in:
luying
2021-10-15 18:16:05 +08:00
parent 70a3d719b0
commit abce31b539
73 changed files with 138 additions and 57 deletions
@@ -16,7 +16,8 @@ export interface DicFriendShipLevel {
export const maxFriendShipLv = { max: 0 };
export const dicFriendShipLevelMap = new Map<number, DicFriendShipLevel>();
export function loadFriendShipLevel() {
maxFriendShipLv.max = 0;
dicFriendShipLevelMap.clear();
let arr = readFileAndParse(FILENAME.DIC_FRIEND_SHIP_LEVEL);
let expSum = 0;
arr.forEach(o => {