This commit is contained in:
aozhiwei 2024-08-28 17:32:43 +08:00
parent 48c994270f
commit 04506acb20

View File

@ -51,6 +51,7 @@ void CustomBattle::ParseResult(a8::XObject& obj)
map_id_ = obj.Get("map_id");
match_mode_ = obj.Get("match_mode");
start_time_ = obj.Get("start_time");
is_newbie_battle_ = obj.Get("is_newbie_battle");
sign_ = obj.Get("sign").GetString();
const mt::Map* map_meta = mt::Map::GetById(map_id_);
if (!map_meta || !map_meta->IsOpen()) {