wrong offset
This commit is contained in:
parent
0a8bbd916c
commit
de9ea57461
|
@ -48,7 +48,7 @@ function()
|
|||
local ev, evd = table.remove(evd, 1), evd
|
||||
|
||||
if ev == "mouse_click" then
|
||||
local x, y = table.unpack(evd, 1)
|
||||
local x, y = table.unpack(evd, 2)
|
||||
if drive.isReady() and y <= #table_of_contents then
|
||||
drive.seek(-drive.getSize())
|
||||
drive.seek(table_of_contents[y].offset)
|
||||
|
|
Loading…
Reference in New Issue