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();