diff --git a/game/server/playerdata.go b/game/server/playerdata.go index 4ac9481..c2e3a9c 100644 --- a/game/server/playerdata.go +++ b/game/server/playerdata.go @@ -32,6 +32,7 @@ func (c *Conn) getPlayerInfo() pangya.PlayerInfo { func (c *Conn) getPlayerStats() pangya.PlayerStats { return pangya.PlayerStats{ Pang: uint64(c.player.Pang), + Rank: byte(c.player.Rank), // TODO } } diff --git a/pangya/player.go b/pangya/player.go index 02c0018..a207ad1 100755 --- a/pangya/player.go +++ b/pangya/player.go @@ -54,7 +54,7 @@ type PlayerStats struct { LongestPutt float32 LongestChip float32 TotalXP uint32 - Level byte + Rank byte Pang uint64 TotalScore int32 DifficultyScore [5]uint8