json: 修复array
This commit is contained in:
@@ -17,7 +17,6 @@ export interface DicPvpOpponent {
|
|||||||
|
|
||||||
export const dicPvpOpponent = new Map<number, DicPvpOpponent>();
|
export const dicPvpOpponent = new Map<number, DicPvpOpponent>();
|
||||||
export function loadPvpOpponent() {
|
export function loadPvpOpponent() {
|
||||||
dicPvpOpponent.splice(0, dicPvpOpponent.length);
|
|
||||||
let arr = readFileAndParse(FILENAME.DIC_PVP_OPPONENT);
|
let arr = readFileAndParse(FILENAME.DIC_PVP_OPPONENT);
|
||||||
|
|
||||||
arr.forEach(o => {
|
arr.forEach(o => {
|
||||||
|
|||||||
Reference in New Issue
Block a user