Something is voiding the iris, lets fix that.. also open on outgoing
This commit is contained in:
@ -308,6 +308,8 @@ local function handleIncomingWormhole()
|
|||||||
if config.autoCloseIrisOnIncoming then
|
if config.autoCloseIrisOnIncoming then
|
||||||
sleep(config.irisCloseDelay)
|
sleep(config.irisCloseDelay)
|
||||||
if allowed then
|
if allowed then
|
||||||
|
-- Wait 2 seconds after connection established before opening iris
|
||||||
|
sleep(2)
|
||||||
utils.openIris()
|
utils.openIris()
|
||||||
else
|
else
|
||||||
utils.closeIris()
|
utils.closeIris()
|
||||||
@ -547,6 +549,11 @@ local function handleOutgoingDial()
|
|||||||
|
|
||||||
os.pullEvent("stargate_outgoing_wormhole")
|
os.pullEvent("stargate_outgoing_wormhole")
|
||||||
|
|
||||||
|
-- Open local iris for outgoing connection
|
||||||
|
if config.irisEnabled then
|
||||||
|
utils.openIris()
|
||||||
|
end
|
||||||
|
|
||||||
-- Wait briefly for version message from remote gate
|
-- Wait briefly for version message from remote gate
|
||||||
state.remoteHasComputer = false
|
state.remoteHasComputer = false
|
||||||
local function WaitForVersion()
|
local function WaitForVersion()
|
||||||
|
|||||||
Reference in New Issue
Block a user