From 29afdc7adc6362eee24c1c4f6c06a2bf78d93a8f Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Mon, 27 Aug 2018 01:21:55 +0300 Subject: [PATCH] aefaef --- Applications/SemyonIC2Reactors.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Applications/SemyonIC2Reactors.lua b/Applications/SemyonIC2Reactors.lua index 6c9defb8..1adf8760 100644 --- a/Applications/SemyonIC2Reactors.lua +++ b/Applications/SemyonIC2Reactors.lua @@ -153,7 +153,10 @@ end local function masterState(state) for i = 1, #contorollersContainer.children do - setButtonState(contorollersContainer.children[i].button, state) + local object = contorollersContainer.children[i] + if not object.disabled then + setButtonState(object.button, state) + end end mainContainer:drawOnScreen()