aboutsummaryrefslogtreecommitdiff
path: root/server_conn.go
diff options
context:
space:
mode:
Diffstat (limited to 'server_conn.go')
-rw-r--r--server_conn.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/server_conn.go b/server_conn.go
index ba229d1..ceac020 100644
--- a/server_conn.go
+++ b/server_conn.go
@@ -91,9 +91,9 @@ func handleSrv(sc *ServerConn) {
for sc.state() == csCreated && sc.client() != nil {
sc.SendCmd(&mt.ToSrvInit{
- SerializeVer: latestSerializeVer,
- MinProtoVer: latestProtoVer,
- MaxProtoVer: latestProtoVer,
+ SerializeVer: serializeVer,
+ MinProtoVer: protoVer,
+ MaxProtoVer: protoVer,
PlayerName: sc.client().Name(),
})
time.Sleep(500 * time.Millisecond)