1
0
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:
Maik Wild 2018-10-15 13:50:41 +02:00
parent 52dfc8aec9
commit 646e629c69

View File

@ -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}