[Performance] Clear Wearchange Deduplication Cache (#4960)

* [Performance] Clear Wearchange Deduplication Cache

* Move timers to process loops
This commit is contained in:
Chris Miles
2025-06-30 13:57:43 -05:00
committed by GitHub
parent 07d484597d
commit 659a960401
4 changed files with 10 additions and 0 deletions
+1
View File
@@ -211,6 +211,7 @@ public:
uint16 m_last_wearchange_race_id = 0;
// client_id -> slot_id -> key
std::unordered_map<uint32_t, std::unordered_map<uint8_t, uint64_t>> m_last_seen_wearchange;
Timer m_clear_wearchange_cache_timer;
// Bot attack flag
Timer bot_attack_flag_timer;