From 0a8bbd916c1ecbda04b66b0679ea4dd02b0fab2e Mon Sep 17 00:00:00 2001 From: hkc Date: Tue, 17 Oct 2023 16:29:23 +0300 Subject: [PATCH] Wrong variable lol --- tape-playlist.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tape-playlist.lua b/tape-playlist.lua index 7f70929..13dfe75 100644 --- a/tape-playlist.lua +++ b/tape-playlist.lua @@ -51,7 +51,7 @@ function() local x, y = table.unpack(evd, 1) if drive.isReady() and y <= #table_of_contents then drive.seek(-drive.getSize()) - drive.seek(table_of_contents[i].offset) + drive.seek(table_of_contents[y].offset) drive.play() end elseif ev == "term_resize" then