Add installer/updater
This commit is contained in:
@ -104,6 +104,11 @@ function handlers.handleDisconnectButton(eventType, side, x, y)
|
|||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Only process if stargate is actually connected
|
||||||
|
if not gate.isStargateConnected() then
|
||||||
|
return nil
|
||||||
|
end
|
||||||
|
|
||||||
-- Check if clicking disconnect button (bottom-right corner)
|
-- Check if clicking disconnect button (bottom-right corner)
|
||||||
if y >= 17 and y <= 19 and x >= 20 and x <= 28 then
|
if y >= 17 and y <= 19 and x >= 20 and x <= 28 then
|
||||||
gate.disconnectStargate()
|
gate.disconnectStargate()
|
||||||
|
|||||||
@ -516,7 +516,7 @@ local function selectGateFromList()
|
|||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Check back button (x: 23-28, y: 17-19)
|
-- Check back button (x: 23-28, y: 17-19)
|
||||||
if not dialing and sely >= 17 and sely <= 19 and selx >= 23 and selx <= 28 then
|
if not dialing and sely >= 17 and sely <= 19 and selx >= 23 and selx <= 28 then
|
||||||
selecting = false
|
selecting = false
|
||||||
|
|||||||
Reference in New Issue
Block a user