This commit is contained in:
aozhiwei 2023-03-14 20:14:15 +08:00
parent 5c355adeb0
commit c24120cfaf

View File

@ -318,7 +318,6 @@ void CallFuncBuff::ProcLightCircle()
void OnLeave() void OnLeave()
{ {
} }
}; };
@ -365,7 +364,7 @@ void CallFuncBuff::ProcLightCircle()
if (itr == context->in_human_infos.end()) { if (itr == context->in_human_infos.end()) {
abort(); abort();
} }
for (int buff_uniid : itr->buff_uniids) { for (int buff_uniid : itr->second.buff_uniids) {
hum->RemoveBuffByUniId(buff_uniid); hum->RemoveBuffByUniId(buff_uniid);
} }
itr->second.OnLeave(); itr->second.OnLeave();