Fix tick optimization
This commit is contained in:
parent
6fbce0e4b2
commit
ab84eed25b
@ -651,7 +651,7 @@ function tick()
|
|||||||
refreshed=true
|
refreshed=true
|
||||||
end
|
end
|
||||||
|
|
||||||
if world.getTime() % 20*10 then
|
if world.getTime() % (20*10) == 0 then
|
||||||
syncState()
|
syncState()
|
||||||
end
|
end
|
||||||
animateTick()
|
animateTick()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user