minigame: Fix typo causing crash in Toon Escape.
This commit is contained in:
parent
5900c3cdfd
commit
033fe6fdc8
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue