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