This commit is contained in:
aozhiwei 2023-02-23 14:23:48 +08:00
parent 700795c533
commit 3170292d83

View File

@ -29,9 +29,9 @@ struct GraspBuff
gun_grasp->GetOwner()->room->xtimer.SetTimeoutEx
(
buff_time * SERVER_FRAME_RATE,
[] (int event, const a8::Args* args)
[this, gun_grasp, count, buff1_meta] (int event, const a8::Args* args)
{
gun_grasp->RemoveSignet(buff1_meta->graspbuff_id(), count);
},
&xtimer_attacher);
}