summaryrefslogtreecommitdiff
path: root/Client/Assembly-CSharp/HostGameButton.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-01 09:44:26 +0800
committerchai <chaifix@163.com>2021-01-01 09:44:26 +0800
commitbe6caf20c319f55fe6fa5d918859af39991a899f (patch)
tree795cbdfd4eea3c442f5578ff0538ad63dfae0725 /Client/Assembly-CSharp/HostGameButton.cs
parente9ea621b93fbb58d9edfca8375918791637bbd52 (diff)
*网络
Diffstat (limited to 'Client/Assembly-CSharp/HostGameButton.cs')
-rw-r--r--Client/Assembly-CSharp/HostGameButton.cs1
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";