From 56f860a282f422518315de3d98d3636f3b588825 Mon Sep 17 00:00:00 2001 From: Guillaume ARM Date: Tue, 28 May 2024 01:51:02 +0200 Subject: [PATCH] fix(light-server): bad loop queue used for secondary room --- light-server.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/light-server.lua b/light-server.lua index 27108bd..65a4600 100644 --- a/light-server.lua +++ b/light-server.lua @@ -11,7 +11,7 @@ local MAIN_OUTPUT_SIDE = 'left' local SECONDARY_INPUT_SIDE = 'back' local SECONDARY_OUTPUT_SIDE = 'front' -local VERSION = '1.0.4' +local VERSION = '1.0.5' local function getMainColorsOrder() return { @@ -139,7 +139,7 @@ local function redstoneLoop() if secondaryState ~= newSecondaryState then secondaryState = newSecondaryState - table.insert(mainLoopQueue, newSecondaryState) + table.insert(secondaryLoopQueue, newSecondaryState) os.queueEvent('light_command_secondary', newSecondaryState) end