From d52de9e6c23f0ee1b8dacc1f732906bed7412647 Mon Sep 17 00:00:00 2001 From: Aaron Veden Date: Mon, 6 Dec 2021 21:20:41 -0800 Subject: [PATCH] fixed surfaceTileChange not using chunk in keyvalue pair --- control.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/control.lua b/control.lua index 7f98224..32c047e 100644 --- a/control.lua +++ b/control.lua @@ -584,7 +584,7 @@ local function onSurfaceTileChange(event) local chunk = getChunkByPosition(map, position) if (chunk ~= -1) then - map.chunkToPassScan[chunk.id] = true + map.chunkToPassScan[chunk.id] = chunk else local x,y = positionToChunkXY(position) local addMe = true @@ -613,7 +613,7 @@ local function onSurfaceTileChange(event) local chunk = getChunkByPosition(map, position) if (chunk ~= -1) then - map.chunkToPassScan[chunk.id] = true + map.chunkToPassScan[chunk.id] = chunk else local x,y = positionToChunkXY(position) local addMe = true