From 6ad8f90fe46668b3f557ee373e206ff7258a3430 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 23 Mar 2023 17:56:23 +0800 Subject: [PATCH] 1 --- server/gameserver/team.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/gameserver/team.cc b/server/gameserver/team.cc index e4f18d5b..db7f209b 100644 --- a/server/gameserver/team.cc +++ b/server/gameserver/team.cc @@ -246,7 +246,7 @@ void Team::GenBattleReportData(Human* player, a8::MutableXObject* params) params->SetVal("version", 2023030201); params->SetVal("battle_uuid", a8::XValue(player->battle_uuid)); params->SetVal("room_uuid", a8::XValue(room->GetRoomUuid())); - params->SetVal("room_mode", room->IsPveRoom() ? 0 : 1); + params->SetVal("room_mode", room->IsPveRoom() ? 1 : 0); params->SetVal("team_id", GetTeamId()); params->SetVal("team_mode", 1); params->SetVal("map_id", room->GetMapMeta()->map_id());