From de9ea574613ddfa32d71b823663303bc17cac718 Mon Sep 17 00:00:00 2001 From: hkc Date: Tue, 17 Oct 2023 16:30:18 +0300 Subject: [PATCH] wrong offset --- tape-playlist.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)