[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:
Akkadius committed 2017-03-28 02:36:51 -05:00
1 parent bf45a5a44f
commit 47691c2102
4 files changed
+2 -11

No files matched your search

-9
View File
@@ -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()) {