NetworkServer cleanup

This commit is contained in:
vis2k 2021-03-07 12:56:29 +08:00
parent f31044b23d
commit 06ff30f42c

View File

@ -65,9 +65,7 @@ public static class NetworkServer
internal static Action<NetworkConnection> OnConnectedEvent; internal static Action<NetworkConnection> OnConnectedEvent;
internal static Action<NetworkConnection> OnDisconnectedEvent; internal static Action<NetworkConnection> OnDisconnectedEvent;
/// <summary> /// <summary>Shuts down the server and disconnects all clients</summary>
/// This shuts down the server and disconnects all clients.
/// </summary>
public static void Shutdown() public static void Shutdown()
{ {
if (initialized) if (initialized)