Moved a gate
This commit is contained in:
12
startup.lua
12
startup.lua
@ -513,12 +513,16 @@ local function selectGateFromList()
|
||||
dialing = true
|
||||
sely = 0
|
||||
selx = 0
|
||||
elseif sely >= 17 and selx >= 23 then
|
||||
selecting = false
|
||||
sely = 0
|
||||
selx = 0
|
||||
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
|
||||
sely = 0
|
||||
selx = 0
|
||||
end
|
||||
end
|
||||
|
||||
display.clearButtonData()
|
||||
|
||||
Reference in New Issue
Block a user