mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Performance] Clear Wearchange Deduplication Cache (#4960)
* [Performance] Clear Wearchange Deduplication Cache * Move timers to process loops
This commit is contained in:
@@ -632,6 +632,10 @@ bool NPC::Process()
|
||||
}
|
||||
|
||||
if (tic_timer.Check()) {
|
||||
if (m_clear_wearchange_cache_timer.Check()) {
|
||||
m_last_seen_wearchange.clear();
|
||||
}
|
||||
|
||||
if (parse->HasQuestSub(GetNPCTypeID(), EVENT_TICK)) {
|
||||
parse->EventNPC(EVENT_TICK, this, nullptr, "", 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user