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()
|
||||
|
||||
Reference in New Issue
Block a user