修复锚点无法传送

This commit is contained in:
UnKownOwO
2022-12-03 19:12:37 +08:00
parent ae61ddd3f3
commit b613262d28
3 changed files with 5 additions and 2 deletions

View File

@@ -38,6 +38,8 @@ func (r *RouteManager) doRoute(cmdId uint16, userId uint32, clientSeq uint32, pa
player := r.gameManager.userManager.GetOnlineUser(userId)
if player == nil {
logger.LOG.Error("player is nil, uid: %v", userId)
// 临时为了调试便捷搞的重连 生产环境请务必去除 不然新用户会一直重连不能进入
//r.gameManager.ReconnectPlayer(userId)
return
}
player.ClientSeq = clientSeq