.BANCHO. .FIX. Fix negative pp value causing exception
This commit is contained in:
parent
121d19aaa7
commit
2213a99147
|
@ -140,7 +140,7 @@ def userStats(userID, force = False):
|
||||||
[userToken.playcount, dataTypes.UINT32],
|
[userToken.playcount, dataTypes.UINT32],
|
||||||
[userToken.totalScore, dataTypes.UINT64],
|
[userToken.totalScore, dataTypes.UINT64],
|
||||||
[userToken.gameRank, dataTypes.UINT32],
|
[userToken.gameRank, dataTypes.UINT32],
|
||||||
[userToken.pp if userToken.pp <= 65535 else 0, dataTypes.UINT16]
|
[userToken.pp if userToken.pp <= 65535 and userToken.pp > 0 else 0, dataTypes.UINT16]
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user