Skip to content

Commit

Permalink
bump client version
Browse files Browse the repository at this point in the history
  • Loading branch information
milonoir committed Nov 2, 2022
1 parent 67026eb commit 596f7e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func server(l *log.Logger, proto, address string) error {
GameType: "Game Type",
Map: "Map",
Port: 1000,
Metrics: []float32{-1, 0, 1, 3.14159, 1253.232, -933.32},
})
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion lib/svrquery/protocol/sqp/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const (
DefaultMaxPacketSize = 1472

// Version is the query protocol version this client uses.
Version = uint16(1)
Version = uint16(2)

// MaxMetrics is the maximum number of metrics supported in a request.
MaxMetrics = byte(25)
Expand Down

0 comments on commit 596f7e5

Please sign in to comment.