From 89af599e1a70a949e357611e9dc37c26e9292a55 Mon Sep 17 00:00:00 2001 From: Nyo Date: Tue, 13 Sep 2016 12:25:45 +0200 Subject: [PATCH] .BANCHO. .FIX. Fix PP overflow --- constants/serverPackets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants/serverPackets.py b/constants/serverPackets.py index caf7a70..cd25bf9 100644 --- a/constants/serverPackets.py +++ b/constants/serverPackets.py @@ -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] ])