.
This commit is contained in:
parent
52dcebc28c
commit
cd3684d159
@ -78,10 +78,6 @@ local function shellRun()
|
||||
shell.run("shell")
|
||||
end
|
||||
|
||||
local function shellStopCheck()
|
||||
parallel.waitForAny(shellStopTimer, shellStopKeyEvent)
|
||||
end
|
||||
|
||||
local function shellStopTimer()
|
||||
while true do
|
||||
if timer < 1 then
|
||||
@ -102,6 +98,10 @@ local function shellStopKeyEvent()
|
||||
end
|
||||
end
|
||||
|
||||
local function shellStopCheck()
|
||||
parallel.waitForAny(shellStopTimer, shellStopKeyEvent)
|
||||
end
|
||||
|
||||
local function main()
|
||||
config = getConfig()
|
||||
local timer = config["keepUnlockedFor"]
|
||||
|
Loading…
Reference in New Issue
Block a user