fix in-game chat animation interval
This commit is contained in:
parent
ce63b1b27b
commit
147cf5b417
@ -42,7 +42,7 @@ function on_open()
|
|||||||
if not initialized then
|
if not initialized then
|
||||||
initialized = true
|
initialized = true
|
||||||
|
|
||||||
document.root:setInterval(1/animation_fps, function ()
|
document.root:setInterval(1/animation_fps * 1000, function ()
|
||||||
local uptime = time.uptime()
|
local uptime = time.uptime()
|
||||||
for _, line in ipairs(lines) do
|
for _, line in ipairs(lines) do
|
||||||
update_line(line, uptime)
|
update_line(line, uptime)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user