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)