mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Fix cog suit display name
This commit is contained in:
parent
5dbf692bae
commit
c1a7d64e43
1 changed files with 3 additions and 1 deletions
|
@ -227,13 +227,15 @@ class Avatar(Actor, ShadowCaster):
|
|||
if not name:
|
||||
name = self.name
|
||||
|
||||
self.nametag.setName(name)
|
||||
|
||||
if hasattr(self, 'adminAccess') and self.isAdmin():
|
||||
access = self.getAdminAccess()
|
||||
|
||||
if access in OTPLocalizer.AccessToString:
|
||||
name += '\n\x01shadow\x01%s\x02' % OTPLocalizer.AccessToString[access]
|
||||
|
||||
self.nametag.setName(name)
|
||||
self.nametag.setDisplayName(name)
|
||||
|
||||
def getFont(self):
|
||||
return self.__font
|
||||
|
|
Loading…
Reference in a new issue