mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +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
|
||||
end
|
||||
|
||||
if (g < 0) then
|
||||
g = 0
|
||||
end
|
||||
|
||||
r = abs(r)
|
||||
|
||||
local color = { r = r, g = g, b = b}
|
||||
|
Loading…
Reference in New Issue
Block a user