Distinguish color from pixel in base color fill

This commit is contained in:
Nils Dagsson Moskopp 2022-05-19 14:05:20 +02:00
parent f0480f3105
commit 8626175ed4
Signed by untrusted user who does not match committer: erlehmann
GPG Key ID: A3BC671C35191080
1 changed files with 2 additions and 2 deletions

View File

@ -120,9 +120,9 @@ maps.create_map = function(pos, player_name)
}
for x = 1,size,1 do
for z = 1,size,1 do
local color = { 0 }
local color = 0
pixels[z] = pixels[z] or {}
pixels[z][x] = color
pixels[z][x] = { color }
end
end