mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-17 05:32:27 +08:00
修复多账号登录
This commit is contained in:
@@ -37,9 +37,6 @@ func (r *RouteManager) doRoute(cmdId uint16, userId uint32, clientSeq uint32, pa
|
||||
}
|
||||
player := r.gameManager.userManager.GetOnlineUser(userId)
|
||||
if player == nil {
|
||||
// 当gs重启后玩家并未退出gate 会持续触发nil
|
||||
r.gameManager.ReconnectPlayer(userId)
|
||||
|
||||
logger.LOG.Error("player is nil, uid: %v", userId)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user