fix(fight): 登录直接断开,战斗复制错误
This commit is contained in:
@@ -38,6 +38,7 @@ func (h *Controller) Login(data *user.MAIN_LOGIN_IN, c gnet.Conn) (result *user.
|
||||
tt := data.CheakSession()
|
||||
if !tt {
|
||||
err = errorcode.ErrorCodes.ErrLoginServerError
|
||||
defer c.Close()
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user