Skip to content

Commit a4de299

Browse files
committed
add a hudshoulddraw hook to entinfo
1 parent d655fe3 commit a4de299

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/warden/gui/cl_entinfo.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ function PANEL:SetEntColor()
202202
end
203203

204204
function PANEL:Paint(w, h)
205+
if hook.Run("HUDShouldDraw", "WardenEntInfo") == false then return end
205206
if isHoldingCamera or hideHud then return end
206207

207208
self:Blur()

0 commit comments

Comments
 (0)