[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
2017-03-28 02:36:51 -05:00
parent bf45a5a44f
commit 47691c2102
4 changed files with 2 additions and 11 deletions
-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()) {