From 52553e5bf92bcc3abd44d36b90a791719a015e99 Mon Sep 17 00:00:00 2001 From: John Cote Date: Sun, 26 Apr 2015 18:19:01 -0400 Subject: [PATCH] Fix the party spawn title text. --- toontown/parties/DistributedParty.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/toontown/parties/DistributedParty.py b/toontown/parties/DistributedParty.py index 4b44e5b5..6ba74a38 100644 --- a/toontown/parties/DistributedParty.py +++ b/toontown/parties/DistributedParty.py @@ -567,7 +567,6 @@ class DistributedParty(DistributedObject.DistributedObject): self.doSpawnTitleText(partyText) def doSpawnTitleText(self, text): - return self.titleColor = (1.0, 0.5, 0.4, 1.0) self.titleText = OnscreenText.OnscreenText(text, fg=self.titleColor, font=ToontownGlobals.getSignFont(), pos=(0, -0.5), scale=0.16, drawOrder=0, mayChange=1, wordwrap=16) self.titleText.setText(text) @@ -575,7 +574,7 @@ class DistributedParty(DistributedObject.DistributedObject): self.titleText.setColor(Vec4(*self.titleColor)) self.titleText.clearColorScale() self.titleText.setFg(self.titleColor) - seq = Sequence(Wait(0.1), Wait(6.0), self.titleText.colorScaleInterval(0.5, Vec4(1.0, 1.0, 1.0, 0.0)), Task(self.hideTitleText)) + seq = Sequence(Wait(0.1), Wait(6.0), self.titleText.colorScaleInterval(0.5, Vec4(1.0, 1.0, 1.0, 0.0)), Func(self.hideTitleText)) seq.start() def hideTitleText(self):