From 9c3f56b6c4e9102c1d4aa01eb55b96e9a16c4359 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 31 Mar 2022 14:19:01 +0800 Subject: [PATCH] 1 --- server/gameserver/roommgr.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index 0397285a..cf832a21 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -792,12 +792,12 @@ void RoomMgr::SendGetBattleData(int mode, context.errmsg = ""; result->push_back(context); } - #if 0 +#ifdef DEBUG if (is_old_version) { cb(*result); return; } - #endif +#endif { std::string url; JsonDataMgr::Instance()->GetApiUrl(url);