Remove Redundant Set of mode = Offline (#1510)

* Remove redundant code

* Removed blank line
This commit is contained in:
MrGadget 2020-02-20 13:19:28 -05:00 committed by GitHub
parent b33515ba8f
commit 8bf6690312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}