1
This commit is contained in:
parent
8973605ad2
commit
a513db5c0a
@ -25,15 +25,23 @@ void Guide::Init(Human* owner)
|
||||
}
|
||||
curr_step_idx_ = 0;
|
||||
UpdateStep();
|
||||
#if 0
|
||||
owner_->room->xtimer.SetTimeoutEx
|
||||
(
|
||||
#ifdef DEBUG
|
||||
SERVER_FRAME_RATE * 1,
|
||||
#else
|
||||
SERVER_FRAME_RATE * 60 * 10,
|
||||
#endif
|
||||
[this] (int event, const a8::Args* args)
|
||||
{
|
||||
if (a8::TIMER_EXEC_EVENT == event) {
|
||||
finished_ = true;
|
||||
owner_->SendNewBieEnd();
|
||||
}
|
||||
},
|
||||
&owner_->xtimer_attacher);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Guide::UpdateStep()
|
||||
|
@ -866,7 +866,7 @@ void RoomMgr::SetMatchMode(int mode)
|
||||
|
||||
void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
|
||||
{
|
||||
#if 1
|
||||
#if 0
|
||||
#ifdef DEBUG
|
||||
#ifdef NEWBIE_ROOM
|
||||
msg->set_force_enter_newbie_room(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user