From e057e00e8db98d67279f6fda9efbcec6ae37ca0c Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 18 Mar 2024 20:09:02 +0800 Subject: [PATCH] 1 --- server/gameserver/custom_battle.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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