From b09275d2a75a862f96e40e8868c4fa5e47fab9b8 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 14 Mar 2024 15:05:47 +0800 Subject: [PATCH] 1 --- server/gameserver/roommgr.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index 03811cb2..ef6b9ef0 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -1090,6 +1090,13 @@ void RoomMgr::SendGetCustomBattleData(std::shared_ptr join_msg, } else { url += "?&c=Battle&a=getMobaBattleData"; } + } else if (custom_room_type == CUSTOM_ROOM_NORMAL) { + if (url.find('?') != std::string::npos) { + url += "&c=Battle&a=getNormalBattleData"; + } else { + url += "?&c=Battle&a=getNormalBattleData"; + } + } else { if (url.find('?') != std::string::npos) { url += "&c=Battle&a=getCustomBattleData";