From b478f2a1ba1f0e10bb6de6fbf14e3c43df5dde8a Mon Sep 17 00:00:00 2001 From: John Cote Date: Mon, 30 Dec 2019 21:32:57 -0500 Subject: [PATCH] quest: what a weird way of setting scales --- toontown/quest/QuestChoiceGui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toontown/quest/QuestChoiceGui.py b/toontown/quest/QuestChoiceGui.py index fd3eac1..44c5e79 100644 --- a/toontown/quest/QuestChoiceGui.py +++ b/toontown/quest/QuestChoiceGui.py @@ -44,7 +44,8 @@ class QuestChoiceGui(DirectFrame): self.timer.setPos(-0.2, 0, -0.6) elif len(quests) == 3 * 3: self['geom_scale'] = (1.85, 1, 0.9) - list(map(lambda x: x.setScale(0.95), self.questChoicePosters)) + for questChoicePoster in self.questChoicePosters: + questChoicePoster.setScale(0.95) self.questChoicePosters[0].setPos(0, 0, -0.4) self.questChoicePosters[1].setPos(0, 0, 0.125) self.questChoicePosters[2].setPos(0, 0, 0.65)