This commit is contained in:
Casey 2024-09-15 04:17:07 +03:00
parent a49e996e1b
commit 89bb807cc2
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ table.insert(subthreads, function()
term.setBackgroundColor(frame >= #frames and colors.red or colors.gray)
term.clearLine()
term.write(string.format("Playing frame: %d/%d", frame + 1, #frames))
if frames[frame] then
if frames[frame + 1] then
ccpi.draw(frames[frame + 1], 1, 1, monitor)
end
os.sleep(delay)