mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix in-game chat animation interval
This commit is contained in:
parent
ce63b1b27b
commit
147cf5b417
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue