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