aboutsummaryrefslogtreecommitdiff
path: root/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'auth.go')
-rw-r--r--auth.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth.go b/auth.go
index cfac361..a58aba3 100644
--- a/auth.go
+++ b/auth.go
@@ -69,9 +69,9 @@ func (auth *Auth) connect() {
go func() {
for auth.client.state == csConnected && auth.state == asInit {
auth.client.conn.SendCmd(&mt.ToSrvInit{
- SerializeVer: 28,
- MinProtoVer: 39,
- MaxProtoVer: 39,
+ SerializeVer: serializeVer,
+ MinProtoVer: protoVer,
+ MaxProtoVer: protoVer,
PlayerName: auth.username,
})
time.Sleep(500 * time.Millisecond)