diff --git a/configs/compound_tbl.json b/config/compound_tbl.json similarity index 100% rename from configs/compound_tbl.json rename to config/compound_tbl.json diff --git a/configs/effectcard_tbl.json b/config/effectcard_tbl.json similarity index 100% rename from configs/effectcard_tbl.json rename to config/effectcard_tbl.json diff --git a/configs/hero_tbl.json b/config/hero_tbl.json similarity index 100% rename from configs/hero_tbl.json rename to config/hero_tbl.json diff --git a/configs/skill_tbl.json b/config/skill_tbl.json similarity index 100% rename from configs/skill_tbl.json rename to config/skill_tbl.json diff --git a/configs/systemcard_tbl.json b/config/systemcard_tbl.json similarity index 100% rename from configs/systemcard_tbl.json rename to config/systemcard_tbl.json diff --git a/configs/unit_tbl.json b/config/unit_tbl.json similarity index 100% rename from configs/unit_tbl.json rename to config/unit_tbl.json diff --git a/src/common/DataParser.ts b/src/common/DataParser.ts index c3df2e6..e354ac9 100644 --- a/src/common/DataParser.ts +++ b/src/common/DataParser.ts @@ -5,7 +5,7 @@ import {BaseConst} from "../constants/BaseConst"; import {error} from "./Debug"; const $cfg = new Map(); -const jsonPath = 'configs'; +const jsonPath = 'config'; export var DataParser = (function (){ const parsers: { [index: string]: ConfigDataParser } = {};