mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
[Bug Fix] Fix missing timer_name check on Mob::StopTimer (#4840)
This commit is contained in:
parent
5babc864b9
commit
115df81400
@ -699,7 +699,7 @@ void QuestManager::stoptimer(const std::string& timer_name, Mob* m)
|
||||
}
|
||||
|
||||
for (auto e = QTimerList.begin(); e != QTimerList.end(); ++e) {
|
||||
if (e->mob && e->mob == m) {
|
||||
if (e->mob && e->mob == m && e->name == timer_name) {
|
||||
parse->EventMob(EVENT_TIMER_STOP, m, nullptr, [&]() { return timer_name; });
|
||||
|
||||
QTimerList.erase(e);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user