This commit is contained in:
aozhiwei 2024-03-14 15:05:47 +08:00
parent 157d076089
commit b09275d2a7

View File

@ -1090,6 +1090,13 @@ void RoomMgr::SendGetCustomBattleData(std::shared_ptr<cs::CMJoin> 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";