summaryrefslogtreecommitdiff
path: root/Client/Assembly-CSharp/InnerNet/InnerNetClient.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-06 18:58:27 +0800
committerchai <chaifix@163.com>2021-01-06 18:58:27 +0800
commitd653a7a8b6ec4efb40d39a455805880bf494e785 (patch)
treef76c75dc8b1bd7a140ed5a1603814cec057dc443 /Client/Assembly-CSharp/InnerNet/InnerNetClient.cs
parentaf50160ef5c9a55506157d7d94e20c17cd28ed42 (diff)
*网络
Diffstat (limited to 'Client/Assembly-CSharp/InnerNet/InnerNetClient.cs')
-rw-r--r--Client/Assembly-CSharp/InnerNet/InnerNetClient.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Client/Assembly-CSharp/InnerNet/InnerNetClient.cs b/Client/Assembly-CSharp/InnerNet/InnerNetClient.cs
index e2198e2..28b6379 100644
--- a/Client/Assembly-CSharp/InnerNet/InnerNetClient.cs
+++ b/Client/Assembly-CSharp/InnerNet/InnerNetClient.cs
@@ -832,10 +832,11 @@ namespace InnerNet
this.OnPlayerJoined(client);
});
}
- if (!this.AmHost || amHost)
+ if (!this.AmHost || amHost) // 非主机就处理到这里
{
return;
}
+ // 下面是主机玩家的操作,收到这个协议的时候切换场景
obj = this.Dispatcher;
lock (obj)
{