This commit is contained in:
aozhiwei 2023-03-24 21:10:29 +08:00
parent a1730c94cb
commit 5ecce5e9d9

View File

@ -48,6 +48,13 @@ void HideBuff::Activate()
void HideBuff::Deactivate()
{
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();
}
void HideBuff::AddInRangeObject(Creature* target)