From 1c8457992491be37fadbc8e12762407cdfdea0aa Mon Sep 17 00:00:00 2001 From: John Date: Fri, 3 Jul 2015 18:11:03 +0300 Subject: [PATCH] Fix trophy score --- toontown/toon/DistributedToon.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toontown/toon/DistributedToon.py b/toontown/toon/DistributedToon.py index 6fc1b770..669d7465 100755 --- a/toontown/toon/DistributedToon.py +++ b/toontown/toon/DistributedToon.py @@ -1410,7 +1410,7 @@ class DistributedToon(DistributedPlayer.DistributedPlayer, Toon.Toon, Distribute self.trophyStarSpeed = 0 if self.trophyScore >= ToontownGlobals.TrophyStarLevels[4]: self.trophyStar = loader.loadModel('phase_3.5/models/gui/name_star') - np = NodePath(self.nametag.getIcon()) + np = NodePath(self.nametag.getNameIcon()) self.trophyStar.reparentTo(np) self.trophyStar.setScale(2) self.trophyStar.setColor(ToontownGlobals.TrophyStarColors[4]) @@ -1419,7 +1419,7 @@ class DistributedToon(DistributedPlayer.DistributedPlayer, Toon.Toon, Distribute taskMgr.add(self.__starSpin, self.uniqueName('starSpin')) elif self.trophyScore >= ToontownGlobals.TrophyStarLevels[2]: self.trophyStar = loader.loadModel('phase_3.5/models/gui/name_star') - np = NodePath(self.nametag.getIcon()) + np = NodePath(self.nametag.getNameIcon()) self.trophyStar.reparentTo(np) self.trophyStar.setScale(1.5) self.trophyStar.setColor(ToontownGlobals.TrophyStarColors[2]) @@ -1428,7 +1428,7 @@ class DistributedToon(DistributedPlayer.DistributedPlayer, Toon.Toon, Distribute taskMgr.add(self.__starSpin, self.uniqueName('starSpin')) elif self.trophyScore >= ToontownGlobals.TrophyStarLevels[0]: self.trophyStar = loader.loadModel('phase_3.5/models/gui/name_star') - np = NodePath(self.nametag.getIcon()) + np = NodePath(self.nametag.getNameIcon()) self.trophyStar.reparentTo(np) self.trophyStar.setScale(1.5) self.trophyStar.setColor(ToontownGlobals.TrophyStarColors[0])