11
This commit is contained in:
parent
724e7393bf
commit
ef7b5d5417
@ -1158,19 +1158,6 @@ void Room::UpdateGasInactive()
|
|||||||
NotifyWxVoip();
|
NotifyWxVoip();
|
||||||
InitAirDrop();
|
InitAirDrop();
|
||||||
InitAndroidAI();
|
InitAndroidAI();
|
||||||
#if 1
|
|
||||||
xtimer.AddDeadLineTimerAndAttach
|
|
||||||
(SERVER_FRAME_RATE * 1,
|
|
||||||
a8::XParams()
|
|
||||||
.SetSender(this),
|
|
||||||
[] (const a8::XParams& param)
|
|
||||||
{
|
|
||||||
Room* room = (Room*)param.sender.GetUserData();
|
|
||||||
room->ProcDisableHuman();
|
|
||||||
room->SecondRandPoint();
|
|
||||||
},
|
|
||||||
&xtimer_attacher_.timer_list_);
|
|
||||||
#endif
|
|
||||||
RoomMgr::Instance()->ActiveRoom(GetRoomUuid());
|
RoomMgr::Instance()->ActiveRoom(GetRoomUuid());
|
||||||
int auto_jump_interval = MetaMgr::Instance()->GetSysParamAsInt("auto_jump_interval");
|
int auto_jump_interval = MetaMgr::Instance()->GetSysParamAsInt("auto_jump_interval");
|
||||||
auto_jump_timer_ = xtimer.AddRepeatTimerAndAttach
|
auto_jump_timer_ = xtimer.AddRepeatTimerAndAttach
|
||||||
|
Loading…
x
Reference in New Issue
Block a user