diff --git a/lua/starfall/libs_cl/render.lua b/lua/starfall/libs_cl/render.lua index 094218bda..537e67906 100644 --- a/lua/starfall/libs_cl/render.lua +++ b/lua/starfall/libs_cl/render.lua @@ -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.