Fix monitor open sequence

This commit is contained in:
Empathic Qubit 2021-11-05 03:57:11 +01:00
parent 4de2d8a187
commit 8900835408
2 changed files with 1 additions and 2 deletions

View file

@ -91,7 +91,6 @@ return function(server)
end
me.open = false
print("Monitor closed")
responseRegisterInfo(server.EVENT_ID)
responseResumed(server.EVENT_ID)
end

View file

@ -231,8 +231,8 @@ local function prepareCommand()
if me.running then
me.running = false
commands.monitorOpened()
end
commands.monitorOpened()
me.conn:settimeout(-1)
data, status = me.conn:receive(1 + 4)