【gm】修复战斗数据gm报错的问题

dev_chengFeng
gaoxin 2020-11-11 16:04:01 +08:00
parent ebe03eff48
commit a3d6f49e15
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ function this.RunFakeBattle(fakeId)
end
-- 战斗数据
function this.RunBattleData(data, seed)
data = loadstring("return "..data)()
require("Modules.Main.BattleData1")
local fdata = (data and data ~= "") and data or testBattleData1
local fseed = (seed and seed ~= "") and seed or testBattleSeed