Updated color properties

Small container fix
This commit is contained in:
Robert Jelic
2025-03-02 22:03:51 +01:00
parent 1e6847fc3a
commit 0af0a62528
14 changed files with 123 additions and 53 deletions

View File

@@ -11,7 +11,7 @@ local function expect(position, value, expectedType)
end
if expectedType == "color" then
if valueType == "number" and value >= 1 and value <= 32768 then
if valueType == "number" then
return true
end
if valueType == "string" and colors[value] then