From 8626175ed43d0a1f897c0224b2cac552ce3192c4 Mon Sep 17 00:00:00 2001 From: Nils Dagsson Moskopp Date: Thu, 19 May 2022 14:05:20 +0200 Subject: [PATCH] Distinguish color from pixel in base color fill --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index e8b5853..dec5b61 100644 --- a/init.lua +++ b/init.lua @@ -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