1
This commit is contained in:
commit
c7343f79ee
@ -203,7 +203,7 @@ bool App::Init(int argc, char* argv[])
|
||||
|
||||
f8::UdpLog::Instance()->Info("gameserver starting instance_id:%d pid:%d debug_mode:%d channel:%d",
|
||||
{
|
||||
instance_id_,
|
||||
instance_id_,
|
||||
getpid(),
|
||||
debug_mode,
|
||||
JsonDataMgr::Instance()->channel
|
||||
@ -226,7 +226,7 @@ bool App::Init(int argc, char* argv[])
|
||||
[] (int event, const a8::Args* args)
|
||||
{
|
||||
if (a8::TIMER_EXEC_EVENT == event) {
|
||||
App::Instance()->terminated_ = true;
|
||||
App::Instance()->Terminate();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
@ -165,8 +165,8 @@ namespace mt
|
||||
abort();
|
||||
}
|
||||
#ifdef DEBUG
|
||||
if (App::Instance()->instance_id == 600 ||
|
||||
App::Instance()->instance_id == 100) {
|
||||
if (App::Instance()->GetInstanceId() == 600 ||
|
||||
App::Instance()->GetInstanceId() == 100) {
|
||||
_float_cd = 6;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user