From 06e08de0caa2640f181a52c1bd5dcb33b5ccda20 Mon Sep 17 00:00:00 2001 From: IgorTimofeev Date: Sun, 31 Dec 2023 11:44:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=D0=B0=D0=BD=D1=83?= =?UTF-8?q?=D0=BB=20=D1=8D=D1=82=D1=83=20=D1=85=D1=83=D0=B9=D0=BD=D1=8E,?= =?UTF-8?q?=20=D0=BA=D0=BE=D0=B3=D0=B4=D0=B0=20=D0=BA=D0=B0=D1=81=D1=81?= =?UTF-8?q?=D0=B5=D1=82=20=D0=B2=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=20=D0=BD?= =?UTF-8?q?=D0=B5=D0=BC=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications/Pioneer.app/Main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Applications/Pioneer.app/Main.lua b/Applications/Pioneer.app/Main.lua index 52785a03..7219610c 100644 --- a/Applications/Pioneer.app/Main.lua +++ b/Applications/Pioneer.app/Main.lua @@ -1280,9 +1280,10 @@ window.eventHandler = function(workspace, window, e1, e2, e3, ...) end local uptime = computer.uptime() - tapePosition = invoke("getPosition") if tape and powerButton.pressed then + tapePosition = invoke("getPosition") + local shouldDraw = false local isPlaying = invoke("getState") == "PLAYING"