diff --git a/resources/setting_types.lua b/resources/setting_types.lua index 47b7cf2c..183b80b4 100644 --- a/resources/setting_types.lua +++ b/resources/setting_types.lua @@ -44,8 +44,7 @@ local function color_sanitizer(input) if input_type == 'string' then local color = Color[input] - if color and tonumber(input) == nil then - -- we have some numeric keys in there + if color then return true, color end