This commit is contained in:
Zach 2015-03-07 03:06:53 -06:00
parent e52dbdb2ff
commit 25388538cf

View file

@ -97,10 +97,10 @@ class ToontownLoadingScreen:
if gui: if gui:
if base.localAvatarStyle: if base.localAvatarStyle:
from toontown.toon import Toon from toontown.toon import Toon
emote = random.choice(self.emotes) emote = random.choice(self.emotes).values()
self.toon = Toon.Toon() self.toon = Toon.Toon()
self.toon.setDNA(base.localAvatarStyle) self.toon.setDNA(base.localAvatarStyle)
self.toon.loop(emote['emote'], fromFrame=emote['frame'], toFrame=emote['frame']) self.toon.pose(*emote)
self.toon.getGeomNode().setDepthWrite(1) self.toon.getGeomNode().setDepthWrite(1)
self.toon.getGeomNode().setDepthTest(1) self.toon.getGeomNode().setDepthTest(1)
self.toon.setHpr(205, 0, 0) self.toon.setHpr(205, 0, 0)