.BANCHO. .FIX. Fix PP overflow

This commit is contained in:
Nyo 2016-09-13 12:25:45 +02:00
parent 784973b298
commit 89af599e1a
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ def userStats(userID, force = False):
[userToken.playcount, dataTypes.UINT32],
[userToken.totalScore, dataTypes.UINT64],
[userToken.gameRank, dataTypes.UINT32],
[userToken.pp, dataTypes.UINT16]
[userToken.pp if userToken.pp <= 65535 else 0, dataTypes.UINT16]
])