From 3170292d83a07583b6483e103f5850f97b7d5220 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 23 Feb 2023 14:23:48 +0800 Subject: [PATCH] 1 --- server/gameserver/gungrasp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/gameserver/gungrasp.cc b/server/gameserver/gungrasp.cc index e7798303..44960d13 100644 --- a/server/gameserver/gungrasp.cc +++ b/server/gameserver/gungrasp.cc @@ -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); }