NetworkServer.Reset made obsolete

This commit is contained in:
vis2k 2020-02-23 11:20:42 +01:00
parent 5de22d2ff2
commit a0d6a02a99

View File

@ -63,6 +63,7 @@ public static class NetworkServer
/// <summary> /// <summary>
/// Reset the NetworkServer singleton. /// Reset the NetworkServer singleton.
/// </summary> /// </summary>
[Obsolete("NetworkServer.Reset was used to reset the singleton, but all it does is set active to false ever since we made NetworkServer static. Use StopServer to stop the server, or Shutdown to fully reset the server.")]
public static void Reset() public static void Reset()
{ {
active = false; active = false;