1
0
Fork 0

Wrong variable lol

This commit is contained in:
Casey 2023-10-17 16:29:23 +03:00
parent 58e4631df8
commit 0a8bbd916c
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 1 deletions

View File

@ -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