1
This commit is contained in:
parent
29801be6e4
commit
e5200da0d7
@ -95,7 +95,13 @@ void HideBuff::Check()
|
||||
}
|
||||
|
||||
if (timeout) {
|
||||
|
||||
for (auto& pair : alert_buff_hash_) {
|
||||
auto& tuple = pair.second;
|
||||
if (std::get<0>(tuple).Get()) {
|
||||
std::get<0>(tuple).Get()->RemoveBuffByUniId(std::get<3>(tuple));
|
||||
}
|
||||
}
|
||||
alert_buff_hash_.clear();
|
||||
} else if (!leave_targets.empty()) {
|
||||
for (int obj_uniid : leave_targets) {
|
||||
auto itr = alert_buff_hash_.find(obj_uniid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user