mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 12:57:16 +00:00
[Performance] Removed a timer where clients would constantly calculate light amount on equipment every 600ms, instead clients will update light when changing equipment or entering a zone
This commit is contained in:
1 parent
bf45a5a44f
commit
47691c2102
4 files changed
+2
-11
No files matched your search
@@ -251,15 +251,6 @@ bool Client::Process() {
|
||||
}
|
||||
}
|
||||
|
||||
if (light_update_timer.Check()) {
|
||||
|
||||
UpdateEquipmentLight();
|
||||
if (UpdateActiveLight()) {
|
||||
SendAppearancePacket(AT_Light, GetActiveLightType());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Build a close range list of NPC's */
|
||||
if (npc_close_scan_timer.Check()) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user