use user-provided name in /game/list/ output
This commit is contained in:
@@ -49,6 +49,7 @@ func Negociate(ws *websocket.Conn, id string, width, height float64) (*bot.Confi
|
||||
_ = websocket.JSON.Send(ws, bot.NewHandshake(id, false))
|
||||
}
|
||||
}
|
||||
conf.Name = clientid.Name
|
||||
return &conf, nil
|
||||
case "spectator":
|
||||
return nil, nil
|
||||
|
||||
Reference in New Issue
Block a user