There was an error while loading. Please reload this page.
1 parent a41006c commit a376794Copy full SHA for a376794
1 file changed
lua/entities/npc_dvbgn_police.lua
@@ -52,7 +52,7 @@ if CLIENT then
52
end)
53
54
hook.Add('PostDrawTranslucentRenderables', 'BGN_DvPoliceDebugDrawPath', function()
55
- if not _cvar_bgn_debug:GetBool() then return end
+ if not _cvar_bgn_debug or not _cvar_bgn_debug:GetBool() then return end
56
for _, dv in _ipairs(_ents_FindByClass('npc_dvbgn_police')) do
57
-- Отрисовка точек из WaypointList
58
if _IsValid(dv) and dv.WaypointList then
0 commit comments