Skip to content

Commit

Permalink
fix: immediately drawn UIs rendering when behind
Browse files Browse the repository at this point in the history
  • Loading branch information
NoSharp authored Jun 13, 2021
1 parent b4bfc0c commit a8c7228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cl_ui3d2d.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8c7228

Please sign in to comment.