Show name of nametag while choosing

This commit is contained in:
John 2015-07-18 01:41:22 +03:00
parent 7be88f4d33
commit 0be23c6abe
2 changed files with 4 additions and 4 deletions

View file

@ -836,8 +836,9 @@ class ExtraOptionsTabPage(DirectFrame):
if resetIndex: if resetIndex:
self.nametagStyle_index = base.localAvatar.nametagStyles.index(base.localAvatar.getNametagStyle()) self.nametagStyle_index = base.localAvatar.nametagStyles.index(base.localAvatar.getNametagStyle())
self.nametagStyle_name['text'] = base.localAvatar.getName() nametagId = base.localAvatar.nametagStyles[self.nametagStyle_index]
self.nametagStyle_name['text_font'] = ToontownGlobals.getNametagFont(base.localAvatar.nametagStyles[self.nametagStyle_index]) self.nametagStyle_name['text'] = base.localAvatar.getName() + '\n' + TTLocalizer.NametagFontNames[nametagId]
self.nametagStyle_name['text_font'] = ToontownGlobals.getNametagFont(nametagId)
nametagCount = len(base.localAvatar.nametagStyles) nametagCount = len(base.localAvatar.nametagStyles)
if self.nametagStyle_index >= (nametagCount - 1): if self.nametagStyle_index >= (nametagCount - 1):

View file

@ -36,7 +36,7 @@ NametagFonts = (
'phase_3/models/fonts/DinosaursAreAlive.ttf' 'phase_3/models/fonts/DinosaursAreAlive.ttf'
) )
NametagFontNames = ( NametagFontNames = (
'Default', 'Basic',
'Plain', 'Plain',
'Shivering', 'Shivering',
'Wonky', 'Wonky',
@ -56,7 +56,6 @@ NametagFontNames = (
'Dinosaurs' 'Dinosaurs'
) )
NametagLabel = ' Nametag' NametagLabel = ' Nametag'
BasicNameTag = 'Basic'
ScreenshotPath = 'user/screenshots/' ScreenshotPath = 'user/screenshots/'
Flippy = 'Flippy' Flippy = 'Flippy'
lTheBrrrgh = 'The Brrrgh' lTheBrrrgh = 'The Brrrgh'