From 8854844a7f479def719aea43612ac806de0004be Mon Sep 17 00:00:00 2001 From: vis2k Date: Thu, 25 Feb 2021 09:57:48 +0800 Subject: [PATCH] dontListen: add comment --- Assets/Mirror/Runtime/NetworkServer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Mirror/Runtime/NetworkServer.cs b/Assets/Mirror/Runtime/NetworkServer.cs index 6648c6842..9b83e2744 100644 --- a/Assets/Mirror/Runtime/NetworkServer.cs +++ b/Assets/Mirror/Runtime/NetworkServer.cs @@ -49,6 +49,8 @@ public static class NetworkServer /// If you enable this, the server will not listen for incoming connections on the regular network port. /// This can be used if the game is running in host mode and does not want external players to be able to connect - making it like a single-player game. Also this can be useful when using AddExternalConnection(). /// + // NOTE: people use this for single player mode where it should not do + // any networking! see https://github.com/vis2k/Mirror/pull/2595 public static bool dontListen; ///