1
0
forked from circlecloud/tera

refactor: keep client online and optimiz code

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-07-22 10:16:37 +08:00
parent ae1242686d
commit 8d0cb723c1
11 changed files with 53 additions and 33 deletions

View File

@@ -644,8 +644,7 @@ export default class CTransport extends CConnect {
Info.Context.ContextID = Info.ContextID
}
global.ContextPackets.SaveValue(Info.ContextID, Info.Context)
}
else {
} else {
Info.ContextID = []
}
Node.SendPacketNum++