diff --git a/server/gameserver/roomobstacle.cc b/server/gameserver/roomobstacle.cc index 20a8b4e7..b98fa839 100644 --- a/server/gameserver/roomobstacle.cc +++ b/server/gameserver/roomobstacle.cc @@ -909,13 +909,21 @@ void RoomObstacle::RemoveSameSkillObstacle() void RoomObstacle::ActiveFlameSurface() { + ForceGridList(); + auto cb = + [this] () + { + + }; room->xtimer.SetIntervalEx ( 1000 / FRAME_RATE_MS, - [this] (int event, const a8::Args* args) + [this, cb] (int event, const a8::Args* args) { if (a8::TIMER_EXEC_EVENT == event) { + cb(); } }, &xtimer_attacher); + cb(); }