1
This commit is contained in:
parent
a82247b18d
commit
3ad19f5a63
@ -2198,6 +2198,7 @@ void Room::NotifyGameStart()
|
|||||||
long long Room::GetGasInactiveTime()
|
long long Room::GetGasInactiveTime()
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
return 10000;
|
||||||
return App::Instance()->debug_params.find(1) != App::Instance()->debug_params.end() ?
|
return App::Instance()->debug_params.find(1) != App::Instance()->debug_params.end() ?
|
||||||
App::Instance()->debug_params[1] : 10;
|
App::Instance()->debug_params[1] : 10;
|
||||||
#endif
|
#endif
|
||||||
@ -3192,7 +3193,7 @@ int Room::GetOnlinePlayerNum()
|
|||||||
size_t Room::GetRoomMaxPlayerNum()
|
size_t Room::GetRoomMaxPlayerNum()
|
||||||
{
|
{
|
||||||
#ifdef MAP3D
|
#ifdef MAP3D
|
||||||
return 2;
|
return 10;
|
||||||
//return map_meta_->player();
|
//return map_meta_->player();
|
||||||
#else
|
#else
|
||||||
if (pve_instance) {
|
if (pve_instance) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user