This commit is contained in:
aozhiwei 2023-01-11 13:55:26 +08:00
parent a82247b18d
commit 3ad19f5a63

View File

@ -2198,6 +2198,7 @@ void Room::NotifyGameStart()
long long Room::GetGasInactiveTime()
{
#ifdef DEBUG
return 10000;
return App::Instance()->debug_params.find(1) != App::Instance()->debug_params.end() ?
App::Instance()->debug_params[1] : 10;
#endif
@ -3192,7 +3193,7 @@ int Room::GetOnlinePlayerNum()
size_t Room::GetRoomMaxPlayerNum()
{
#ifdef MAP3D
return 2;
return 10;
//return map_meta_->player();
#else
if (pve_instance) {