mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
fixed debug error
This commit is contained in:
parent
52dfc8aec9
commit
646e629c69
@ -90,6 +90,10 @@ function Debug.print_grid_value(value, surface, position)
|
|||||||
b = 0
|
b = 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if (g < 0) then
|
||||||
|
g = 0
|
||||||
|
end
|
||||||
|
|
||||||
r = abs(r)
|
r = abs(r)
|
||||||
|
|
||||||
local color = { r = r, g = g, b = b}
|
local color = { r = r, g = g, b = b}
|
||||||
|
Loading…
Reference in New Issue
Block a user