1
This commit is contained in:
parent
6569e0088b
commit
f552b264d9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user