This commit is contained in:
Igor Timofeev 2018-08-27 01:21:55 +03:00
parent 4125771524
commit 29afdc7adc

View File

@ -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()