diff --git a/server/gameserver/custom_battle.cc b/server/gameserver/custom_battle.cc index 4bb62481..9469af24 100644 --- a/server/gameserver/custom_battle.cc +++ b/server/gameserver/custom_battle.cc @@ -37,6 +37,9 @@ void CustomBattle::ParseResult(a8::XObject& obj) parse_ok_ = false; return; } + { + is_moba_ = map_meta->is_moba() ? true : false; + } { auto team_list = obj.At("team_list"); if (!team_list || !team_list->IsArray()) { @@ -218,5 +221,9 @@ void CustomBattle::TraverseObList(std::function