lvjincheng 3 년 전
부모
커밋
273e13f005
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Assets/BowArrow/Scripts/Network/UserPlayer.cs

+ 1 - 0
Assets/BowArrow/Scripts/Network/UserPlayer.cs

@@ -51,6 +51,7 @@ public class UserPlayer : JCEntity
 
     public void Close() {
         PlayerPrefs.DeleteKey("IdAndToken");
+        LoginMgr.myUserInfo.id = 0;
         if (ins == this) ins = null;
         this.canReconnnect = false;
         this.channel.close();