This commit is contained in:
aozhiwei 2023-03-15 15:43:45 +08:00
parent b987cf5464
commit f1f9074d29

View File

@ -79,6 +79,12 @@ void HideBuff::Check()
std::get<0>(tuple).Get(),
std::get<0>(tuple).Get()->GetRadius()
)) {
if (!std::get<0>(tuple).Get()->dead) {
if (owner->room->GetFrameNo() - std::get<1>(tuple) >= alert_time * SERVER_FRAME_RATE) {
timeout = true;
break;
}
}
} else {
leave_targets.push_back(pair.first);
}