From 9a9ba6ce8b9145d5dcd5e3981d6a2ba40f783454 Mon Sep 17 00:00:00 2001 From: thegrb93 Date: Wed, 14 Feb 2024 07:15:39 -0500 Subject: [PATCH] Update render.lua --- lua/starfall/libs_cl/render.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.