mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Remove Redundant Set of mode = Offline (#1510)
* Remove redundant code * Removed blank line
This commit is contained in:
parent
b33515ba8f
commit
8bf6690312
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user