mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-20 11:09:21 +01:00
aefaef
This commit is contained in:
parent
4125771524
commit
29afdc7adc
@ -153,7 +153,10 @@ end
|
|||||||
|
|
||||||
local function masterState(state)
|
local function masterState(state)
|
||||||
for i = 1, #contorollersContainer.children do
|
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
|
end
|
||||||
|
|
||||||
mainContainer:drawOnScreen()
|
mainContainer:drawOnScreen()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user