耐力模块初步完善

This commit is contained in:
UnKownOwO
2022-11-28 22:14:07 +08:00
parent 362ca86130
commit 3cd8a32818
10 changed files with 211 additions and 7 deletions

View File

@@ -38,6 +38,7 @@ 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