This commit is contained in:
aozhiwei 2023-03-15 15:49:23 +08:00
parent c23c92b5db
commit 230d6c4a83

View File

@ -98,7 +98,14 @@ void HideBuff::Check()
} else if (!leave_targets.empty()) {
for (int obj_uniid : leave_targets) {
auto itr = alert_buff_hash_.find(obj_uniid);
if (itr != alert_buff_hash_.end()) {
auto& tuple = itr->second;
if (std::get<0>(tuple).Get()) {
}
alert_buff_hash_.erase(itr);
}
}
}
}