mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-03-21 17:44:58 -05:00
Removed faulty finishposition field
This commit is contained in:
parent
3ec7f68a6d
commit
5cb0b8f2da
|
|
@ -11,11 +11,10 @@ import (
|
|||
)
|
||||
|
||||
type RaceResultPlayer struct {
|
||||
Pid *int `json:"pid"`
|
||||
FinishPosition *int `json:"finish_position"`
|
||||
FinishTimeMs *int `json:"finish_time_ms"`
|
||||
CharacterId *int `json:"character_id"`
|
||||
KartId *int `json:"kart_id"`
|
||||
Pid *int `json:"pid"`
|
||||
FinishTimeMs *int `json:"finish_time_ms"`
|
||||
CharacterId *int `json:"character_id"`
|
||||
KartId *int `json:"kart_id"`
|
||||
}
|
||||
|
||||
type RaceResult struct {
|
||||
|
|
@ -100,7 +99,6 @@ func (g *GameSpySession) handleWWFCReport(command common.GameSpyCommand) {
|
|||
logging.Info(g.ModuleName,
|
||||
"Player",
|
||||
"- PID:", aurora.Cyan(strconv.Itoa(*player.Pid)),
|
||||
"Pos:", aurora.Cyan(strconv.Itoa(*player.FinishPosition)),
|
||||
"Time:", aurora.Cyan(strconv.Itoa(*player.FinishTimeMs)), "ms",
|
||||
"Char:", aurora.Cyan(strconv.Itoa(*player.CharacterId)),
|
||||
"Kart:", aurora.Cyan(strconv.Itoa(*player.KartId)))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user