This commit is contained in:
Julian Brammer 2024-06-08 20:48:26 +02:00
parent ccb336f32e
commit c4d105272a

View File

@ -53,8 +53,9 @@ local function unlockDevice()
if pwCorrect then --correct input if pwCorrect then --correct input
config["locked"] = false config["locked"] = false
setConfig() setConfig()
print("Unlocking.") print("[Unlocked]")
sleep(0.2) sleep(0.2)
break
elseif eventTimeout then --timeout elseif eventTimeout then --timeout
config["locked"] = true config["locked"] = true
setConfig() setConfig()