From a8c72288b01f41d2b4d4f8753720a743f15602bb Mon Sep 17 00:00:00 2001 From: Harry Kerr <33969918+NoSharp@users.noreply.github.com> Date: Sun, 13 Jun 2021 13:49:19 +0100 Subject: [PATCH] fix: immediately drawn UIs rendering when behind --- cl_ui3d2d.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_ui3d2d.lua b/cl_ui3d2d.lua index 29642da..61196a0 100644 --- a/cl_ui3d2d.lua +++ b/cl_ui3d2d.lua @@ -85,7 +85,7 @@ do --Rendering context creation and mouse position getters local normal = angles:Up() local dot = eyePosToUi:Dot(normal) - if dot >= 0 then return true end + if dot >= 0 then return end end isRendering = true