This commit is contained in:
aozhiwei 2022-09-01 14:39:13 +08:00
parent 6569e0088b
commit f552b264d9

View File

@ -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);