Skip to content

Commit

Permalink
fix: Revert "NetworkClient.Shutdown: call ClientScene.Shutdown, other…
Browse files Browse the repository at this point in the history
…wise it's never called" - caused client's player to not be removed from scene after disconnecting

This reverts commit e1e7b31.
  • Loading branch information
miwarnec committed Mar 25, 2019
1 parent c754082 commit 13bb748
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Assets/Mirror/Runtime/NetworkClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ public static void Shutdown()
if (LogFilter.Debug) Debug.Log("Shutting down client.");
singleton = null;
active = false;
ClientScene.Shutdown();
}

[Obsolete("Call NetworkClient.Shutdown() instead. There is only one client.")]
Expand Down

0 comments on commit 13bb748

Please sign in to comment.