Add ugly workaround to fully load preview
This commit is contained in:
parent
33501b86ab
commit
b5bb6c6438
@ -777,7 +777,6 @@ function armor()
|
||||
else
|
||||
armor_state.boots=false
|
||||
end
|
||||
pmRefresh()
|
||||
else
|
||||
armor_glint.leggings=false
|
||||
armor_glint.boots=false
|
||||
@ -876,7 +875,15 @@ function tick()
|
||||
end
|
||||
|
||||
|
||||
-- ugly code to make the avatar fully load in figura preview
|
||||
armor()
|
||||
if not refreshed then
|
||||
cooldown(1, "refreshAll")
|
||||
PartsManager.refreshAll()
|
||||
refreshed=true
|
||||
else
|
||||
pmRefresh()
|
||||
end
|
||||
updateTailVisibility()
|
||||
-- End of tick --
|
||||
old_state.health=player.getHealth()
|
||||
|
Loading…
x
Reference in New Issue
Block a user