1
This commit is contained in:
parent
96f317ea1a
commit
034c9cfc9e
@ -26,6 +26,8 @@
|
||||
#include "entityfactory.h"
|
||||
#include "perfmonitor.h"
|
||||
|
||||
#include "framework/cpp/utils.h"
|
||||
|
||||
const size_t NORMAL_ROOM_MAX_PLAYER_NUM = 40;
|
||||
const size_t MINI_ROOM_MAX_PLAYER_NUM = 20;
|
||||
|
||||
@ -1983,7 +1985,11 @@ long long Room::GetGasInactiveTime()
|
||||
{
|
||||
if (room_mode_ == kZombieMode) {
|
||||
#if DEBUG
|
||||
return 5;
|
||||
if (f8::IsTestEnv()) {
|
||||
return MetaMgr::Instance()->zbmode_gas_inactive_time;
|
||||
} else {
|
||||
return 5;
|
||||
}
|
||||
#else
|
||||
return MetaMgr::Instance()->zbmode_gas_inactive_time;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user