diff options
author | chai <chaifix@163.com> | 2021-01-01 09:44:26 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-01 09:44:26 +0800 |
commit | be6caf20c319f55fe6fa5d918859af39991a899f (patch) | |
tree | 795cbdfd4eea3c442f5578ff0538ad63dfae0725 /Client/Assembly-CSharp/HostGameButton.cs | |
parent | e9ea621b93fbb58d9edfca8375918791637bbd52 (diff) |
*网络
Diffstat (limited to 'Client/Assembly-CSharp/HostGameButton.cs')
-rw-r--r-- | Client/Assembly-CSharp/HostGameButton.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Client/Assembly-CSharp/HostGameButton.cs b/Client/Assembly-CSharp/HostGameButton.cs index 486dc8e..b809318 100644 --- a/Client/Assembly-CSharp/HostGameButton.cs +++ b/Client/Assembly-CSharp/HostGameButton.cs @@ -83,6 +83,7 @@ public class HostGameButton : MonoBehaviour, IConnectButton switch (this.GameMode) { case GameModes.LocalGame: + // 作为服务器监听接口22023 DestroyableSingleton<InnerNetServer>.Instance.StartAsServer(); AmongUsClient.Instance.SetEndpoint("127.0.0.1", 22023); AmongUsClient.Instance.MainMenuScene = "MatchMaking"; |