This commit is contained in:
xtaci
2017-01-14 13:26:23 +08:00
parent 6dcbf4afaa
commit 481baf3264
+2 -2
View File
@@ -184,8 +184,8 @@ func test(mode int) {
for {
time.Sleep(1 * time.Millisecond)
current = uint32(iclock())
kcp1.Update(uint32(iclock()))
kcp2.Update(uint32(iclock()))
kcp1.Update()
kcp2.Update()
// 每隔 20mskcp1发送数据
for ; current >= slap; slap += 20 {