minigame: Fix typo causing crash in Toon Escape.

This commit is contained in:
Sam Edwards 2013-11-02 13:23:34 -06:00
parent 5900c3cdfd
commit 033fe6fdc8

View file

@ -281,7 +281,7 @@ class TwoDGameToonSD(StateData.StateData):
self.scoreText.setColor(r, g, b, a)
self.scoreText.setDepthTest(0)
self.scoreText.setDepthWrite(0)
seq = Sequence(self.scoreText.posInterval(0.5, Point3(0, 0, self.toon.height + 2), blendType='easeOut'), self.scoreText.colorInterval(0.25, Vec4(r, g, b, 0)), Task(self.hideScoreText))
seq = Sequence(self.scoreText.posInterval(0.5, Point3(0, 0, self.toon.height + 2), blendType='easeOut'), self.scoreText.colorInterval(0.25, Vec4(r, g, b, 0)), Func(self.hideScoreText))
seq.start()
def hideScoreText(self):