mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 16:04:38 +01:00
fix road leaderboard overflow
This commit is contained in:
@@ -157,6 +157,10 @@ func handleMsgMhfEnumerateRengokuRanking(s *Session, p mhfpacket.MHFPacket) {
|
|||||||
ps.Uint8(bf, "", false)
|
ps.Uint8(bf, "", false)
|
||||||
selfExist = true
|
selfExist = true
|
||||||
}
|
}
|
||||||
|
if i > 100 {
|
||||||
|
i++
|
||||||
|
continue
|
||||||
|
}
|
||||||
scoreData.WriteUint32(i)
|
scoreData.WriteUint32(i)
|
||||||
scoreData.WriteUint32(score.Score)
|
scoreData.WriteUint32(score.Score)
|
||||||
ps.Uint8(scoreData, score.Name, true)
|
ps.Uint8(scoreData, score.Name, true)
|
||||||
|
|||||||
Reference in New Issue
Block a user