Skip to content

Commit

Permalink
Fix renaming indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
SerVB committed Dec 28, 2019
1 parent 1d1dde0 commit 7d35d27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/scripts/client/gui/mods/mod_recent_stat_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@ def buildVehiclesDataNew(self, vehicles):
def formatNew(self, vInfoVO, playerName=None):
result = formatOld(self, vInfoVO, playerName)
newPlayerName = result.playerName
newPlayerFakeName = result.playerFakeName

try:
accountDBID = vInfoVO.player.accountDBID
newPlayerName = modRecentStat.formatPlayerName(accountDBID, result.playerName)
newPlayerFakeName = modRecentStat.formatPlayerName(accountDBID, result.playerFakeName)
except BaseException:
logError("Error in formatNew", traceback.format_exc())

return _PlayerFormatResult(result.playerFullName, newPlayerName, result.playerFakeName, result.clanAbbrev,
return _PlayerFormatResult(result.playerFullName, newPlayerName, newPlayerFakeName, result.clanAbbrev,
result.regionCode, result.vehicleName)


Expand Down

0 comments on commit 7d35d27

Please sign in to comment.