Add installer/updater

This commit is contained in:
2026-01-01 22:28:00 -05:00
parent 2bc2dd0b0c
commit 197e990735
2 changed files with 6 additions and 1 deletions

View File

@ -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()