This commit is contained in:
aozhiwei 2023-03-14 18:51:29 +08:00
parent 5575d71e36
commit 30549d5814

View File

@ -335,9 +335,6 @@ void CallFuncBuff::ProcLightCircle()
if (context->in_human_infos.find(hum->GetUniId()) != context->in_human_infos.end()) {
abort();
}
if (context->active_skill_meta) {
hum->GetAbility()->AddSpeedRuduce(context->active_skill_meta->_number_meta->_float_speed);
}
context->in_human_infos[hum->GetUniId()] = InnerObject();
context->in_human_infos[hum->GetUniId()].OnEnter();
};
@ -362,9 +359,6 @@ void CallFuncBuff::ProcLightCircle()
if (itr == context->in_human_infos.end()) {
abort();
}
if (context->active_skill_meta) {
hum->GetAbility()->DelSpeedRuduce(context->active_skill_meta->_number_meta->_float_speed);
}
itr->second.OnLeave();
context->in_human_infos.erase(itr);
};