Garry's Mod

Garry's Mod

[LVS] - Flares
Performance issue
I lose fps in an empty map with no LVS vehicles. Dev can you please optimize this addon. Let me know if I'm wrong but I can't think of a reason why this needs to be called nearly every frame

Here are the 16 laggiest hooks found during the last 2707 frames:
Impact Executions Mean t /f Max time
02.76% 2598 81.043us 26859.1us
Event "PreRegisterSENT", hook "UnitysFlares.SetupFlareWeapons"
in "lua/autorun/sh_unitys_flares.lua" (lines 188 to 202),
found in Workshop addon « [LVS] - Flares »