From 8bf6690312eba4f205081cd2ec6a833f11744510 Mon Sep 17 00:00:00 2001 From: MrGadget Date: Thu, 20 Feb 2020 13:19:28 -0500 Subject: [PATCH] Remove Redundant Set of mode = Offline (#1510) * Remove redundant code * Removed blank line --- Assets/Mirror/Runtime/NetworkManager.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Assets/Mirror/Runtime/NetworkManager.cs b/Assets/Mirror/Runtime/NetworkManager.cs index b3cdcbf14..1ce6fdfd4 100644 --- a/Assets/Mirror/Runtime/NetworkManager.cs +++ b/Assets/Mirror/Runtime/NetworkManager.cs @@ -559,11 +559,6 @@ void StartHostClient() public void StopHost() { OnStopHost(); - - // set offline mode BEFORE changing scene so that FinishStartScene - // doesn't think we need initialize anything. - mode = NetworkManagerMode.Offline; - StopServer(); StopClient(); }