Fix organic gags display

This commit is contained in:
John 2015-06-30 20:11:30 +03:00
parent 6bb4ea0dbe
commit 4911ad0607

View file

@ -193,7 +193,7 @@ class ToonAvatarDetailPanel(DirectFrame):
if numItems == 0:
image_color = Vec4(0.5, 0.5, 0.5, 1)
geom_color = Vec4(0.2, 0.2, 0.2, 0.5)
elif self.avatar.getTrackBonusLevel(track) > -1:
elif self.avatar.getTrackBonusLevel(track) >= item:
image_color = Vec4(0, 0.8, 0.4, 1)
geom_color = None
else: