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:
self.nametagStyle_index = base.localAvatar.nametagStyles.index(base.localAvatar.getNametagStyle())
self.nametagStyle_name['text'] = base.localAvatar.getName()
self.nametagStyle_name['text_font'] = ToontownGlobals.getNametagFont(base.localAvatar.nametagStyles[self.nametagStyle_index])
nametagId = 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)
if self.nametagStyle_index >= (nametagCount - 1):

View file

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