public void Stop() { Server.Shutdown("hasta la vista baby"); Network.IsServer = false; while (Server.Status != NetPeerStatus.NotRunning) { Thread.Sleep(100); } PlayerManager.Reset(); }