mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03:01 -05:00
fix inverted 'custom draw distance'
This commit is contained in:
parent
27278ee90d
commit
d4d181646e
@ -767,7 +767,7 @@ do -- drawing
|
||||
if not cond and ent ~= pac.LocalPlayer then
|
||||
if ent.pac_draw_distance then
|
||||
-- custom draw distance
|
||||
cond = ent.pac_draw_distance <= 0 or ent.pac_draw_distance <= dst
|
||||
cond = ent.pac_draw_distance <= 0 or dst <= ent.pac_draw_distance
|
||||
else
|
||||
-- otherwise check the cvar
|
||||
cond = dst <= draw_dist
|
||||
|
Loading…
Reference in New Issue
Block a user