Skip to content

Commit

Permalink
Update render.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
thegrb93 authored Feb 14, 2024
1 parent ffe60f7 commit 9a9ba6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/starfall/libs_cl/render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ end
--- Sets the draw color
-- @param Color clr Color type
function render_library.setColor(clr)
render_library.setRGBA(rawget(clr, "r"), rawget(clr, "g"), rawget(clr, "b"), rawget(clr, "a"))
render_library.setRGBA(clr[1], clr[2], clr[3], clr[4])
end

--- Gets the draw color modulation.
Expand Down

0 comments on commit 9a9ba6c

Please sign in to comment.