Skip to content

Commit

Permalink
fix in-game chat animation interval
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis committed Jan 18, 2025
1 parent ce63b1b commit 147cf5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/layouts/ingame_chat.xml.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 147cf5b

Please sign in to comment.