Fix tick optimization

This commit is contained in:
NullBite 2022-03-28 21:23:41 -04:00
parent 6fbce0e4b2
commit ab84eed25b
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -651,7 +651,7 @@ function tick()
refreshed=true
end
if world.getTime() % 20*10 then
if world.getTime() % (20*10) == 0 then
syncState()
end
animateTick()