|
@@ -93,7 +93,7 @@ namespace GFGGame
|
|
|
ServerInfosComponent serverInfosComponent = GameGlobal.zoneScene.GetComponent<ServerInfosComponent>();
|
|
|
EventAgent.DispatchEvent(ConstMessage.SERVER_CHANGE, serverInfosComponent.CurrentServerId);
|
|
|
EventAgent.DispatchEvent(ConstMessage.LOGIN_SUCCESS);
|
|
|
- if(AntiAddictionController.CheckAntiAddictionWhenLogin())
|
|
|
+ if (AntiAddictionController.CheckAntiAddictionWhenLogin())
|
|
|
{
|
|
|
ViewManager.Hide<ModalStatusView>();
|
|
|
return;
|
|
@@ -267,6 +267,7 @@ namespace GFGGame
|
|
|
//重连成功请求邮件和公告等离线后会变更的数据
|
|
|
NoticeSProxy.ReqSystemNoticeList().Coroutine();
|
|
|
MailSProxy.ReqMailCount().Coroutine();
|
|
|
+ FriendSProxy.ReqAllFriendInfos().Coroutine();
|
|
|
ViewManager.Hide<ModalStatusView>();
|
|
|
}
|
|
|
}
|