From 147cf5b417cb259d24c877d3d3f6c39ddfb491b4 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 18 Jan 2025 07:39:17 +0300 Subject: [PATCH] fix in-game chat animation interval --- res/layouts/ingame_chat.xml.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/layouts/ingame_chat.xml.lua b/res/layouts/ingame_chat.xml.lua index 5e08ac9d..52f38ce7 100644 --- a/res/layouts/ingame_chat.xml.lua +++ b/res/layouts/ingame_chat.xml.lua @@ -42,7 +42,7 @@ function on_open() if not initialized then initialized = true - document.root:setInterval(1/animation_fps, function () + document.root:setInterval(1/animation_fps * 1000, function () local uptime = time.uptime() for _, line in ipairs(lines) do update_line(line, uptime)