This commit is contained in:
aozhiwei 2023-11-16 21:02:04 +08:00
parent b374513c95
commit 8d756041f1

View File

@ -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();
}