made a way to break out of the auth loop
This commit is contained in:
parent
7af951f0bb
commit
41031d5ad2
@ -25,6 +25,8 @@ function nshc(P,nid,pW)
|
||||
while true do
|
||||
if ev[1] == "net_msg" and ev[2] == nid and ev[3] == P then
|
||||
break
|
||||
elseif ev[1] == "key" and ev[2] == sI and ev[3] == 29 and ev[4] == 27 then
|
||||
break
|
||||
end
|
||||
C.yield()
|
||||
end
|
||||
|
@ -23,6 +23,8 @@ function nshc(P,nid)
|
||||
while true do
|
||||
if ev[1] == "net_msg" and ev[2] == nid and ev[3] == P then
|
||||
break
|
||||
elseif ev[1] == "key" and ev[2] == sI and ev[3] == 29 and ev[4] == 27 then
|
||||
break
|
||||
end
|
||||
C.yield()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user