This commit is contained in:
aozhiwei 2023-11-08 11:00:27 +08:00
parent a0f4623bd9
commit bd1bef76cb

View File

@ -1093,7 +1093,9 @@ void CallFuncBuff::RangeHoldBuff()
auto clear_func =
[this, context, check_timer] () mutable
{
owner->room->xtimer.Delete(check_timer);
if (!check_timer.expired()) {
owner->room->xtimer.Delete(check_timer);
}
for (auto& pair : context->in_human_infos) {
for (int buff_uniid : pair.second.buff_uniids) {
if (pair.second.c.Get()) {