This commit is contained in:
aozhiwei 2023-06-25 14:01:57 +08:00
parent 9a47b896c7
commit 71e52a6dd6

View File

@ -1319,6 +1319,9 @@ void Room::UpdateGasInactive()
void Room::UpdateGasInactivePvp()
{
if (IsPvpRankModeRoom()) {
}
if (GetFrameNo() - gas_data_.gas_start_frameno >=
GetGasInactiveTime() * SERVER_FRAME_RATE) {
long long begin_tick = a8::XGetTickCount();
@ -2248,6 +2251,9 @@ void Room::NotifyGameStart()
long long Room::GetGasInactiveTime()
{
if (IsPvpRankModeRoom()) {
return 60 * 60;
}
#ifdef DEBUG
return 12;
#endif