diff --git a/aegisub/automation/include/utils-auto4.lua b/aegisub/automation/include/utils-auto4.lua index 368163162..30ac1004f 100644 --- a/aegisub/automation/include/utils-auto4.lua +++ b/aegisub/automation/include/utils-auto4.lua @@ -245,7 +245,7 @@ function HSL_to_RGB(H, S, L) end - return r, g, b + return math.floor(r*255+0.5), math.floor(g*255+0.5), math.floor(b*255+0.5) end -- Removes spaces at the start and end of string