diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index 73a8a8bb..3aa9e317 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -741,20 +741,8 @@ void RoomMgr::SendGetBattleData(int mode, result->push_back(context); if (msg->proto_version() < 2022032201) { is_old_version = true; - break; } } -#ifdef DEBUG - if (is_old_version) { - #if 0 - for (auto& ctx : result) { - ctx.is_valid_battle = 1; - } - #endif - cb(*result); - return; - } -#endif { std::string url; JsonDataMgr::Instance()->GetApiUrl(url);