From 856aec7b3de9105860885dba23379b088f6ba1c2 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Mon, 18 Dec 2023 08:46:31 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/yau07.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/yau07.gd b/scripts/yau07.gd index 3c68876..889748f 100644 --- a/scripts/yau07.gd +++ b/scripts/yau07.gd @@ -56,8 +56,8 @@ class YaU07: tick = 0.0 - func process(t: int): - tick = t + func process(delta: float): + tick += delta if online and ((tick - cmd_tick_rx) > ONLINE_TIMEOUT): online = false emit_signal('line_changed', self)