json: 修复array

This commit is contained in:
luying
2021-06-07 10:47:58 +08:00
parent c2436c85a8
commit 748af26eae

View File

@@ -17,7 +17,6 @@ export interface DicPvpOpponent {
export const dicPvpOpponent = new Map<number, DicPvpOpponent>();
export function loadPvpOpponent() {
dicPvpOpponent.splice(0, dicPvpOpponent.length);
let arr = readFileAndParse(FILENAME.DIC_PVP_OPPONENT);
arr.forEach(o => {