This commit is contained in:
aozhiwei 2023-04-28 11:47:20 +08:00
parent cd006e631c
commit c7d45faa84

View File

@ -27,11 +27,7 @@ void Guide::Init(Human* owner)
UpdateStep(); UpdateStep();
owner_->room->xtimer.SetTimeoutEx owner_->room->xtimer.SetTimeoutEx
( (
#ifdef DEBUG
SERVER_FRAME_RATE * 1,
#else
SERVER_FRAME_RATE * 60 * 10, SERVER_FRAME_RATE * 60 * 10,
#endif
[this] (int event, const a8::Args* args) [this] (int event, const a8::Args* args)
{ {
if (a8::TIMER_EXEC_EVENT == event) { if (a8::TIMER_EXEC_EVENT == event) {