diff --git a/tape-playlist.lua b/tape-playlist.lua index 13dfe75..88de95c 100644 --- a/tape-playlist.lua +++ b/tape-playlist.lua @@ -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)