This commit is contained in:
aozhiwei 2020-07-24 11:08:07 +08:00
parent cb4cc7f77a
commit 4afe9ea400

View File

@ -943,7 +943,10 @@ void Room::UpdateGasInactive()
{
if (GetFrameNo() - gas_data_.gas_start_frameno >= GetGasInactiveTime() * SERVER_FRAME_RATE) {
gas_data_.gas_mode = GasWaiting;
if (IsMiniRoom()) {
if (GetRoomMode() == kZombieMode) {
gas_data_.old_area_meta = MetaMgr::Instance()->GetSafeArea(70001);
gas_data_.new_area_meta = MetaMgr::Instance()->GetSafeArea(70002);
} else if (IsMiniRoom()) {
gas_data_.old_area_meta = MetaMgr::Instance()->GetSafeArea(60001);
gas_data_.new_area_meta = MetaMgr::Instance()->GetSafeArea(60002);
} else {