This commit is contained in:
aozhiwei 2024-05-23 16:13:16 +08:00
parent bee91b360a
commit c23bc0c0e3

View File

@ -1912,7 +1912,7 @@ void CallFuncBuff::AddArmorShield()
dur_time / FRAME_RATE_MS,
[owner = owner, buff_uniid = buff_uniid] (int event, const a8::Args* args) mutable
{
if (a8::TIMER_DELETE_EVENT == event) {
if (a8::TIMER_EXEC_EVENT == event) {
owner->ClearArmorShield();
owner->RemoveBuffByUniId(buff_uniid);
}