diff options
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"; |