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