mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
merge update
This commit is contained in:
parent
2ef7f16550
commit
f5e4ba138e
@ -44,8 +44,7 @@ local function color_sanitizer(input)
|
|||||||
|
|
||||||
if input_type == 'string' then
|
if input_type == 'string' then
|
||||||
local color = Color[input]
|
local color = Color[input]
|
||||||
if color and tonumber(input) == nil then
|
if color then
|
||||||
-- we have some numeric keys in there
|
|
||||||
return true, color
|
return true, color
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user