Skip to content

Commit

Permalink
fix: networkmenu should add NSM to playerSpawner too
Browse files Browse the repository at this point in the history
  • Loading branch information
Lymdun committed Oct 4, 2020
1 parent 2453e05 commit c7bd0be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Mirror/Editor/NetworkMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public static GameObject CreateNetworkManager()
PlayerSpawner playerSpawner = go.GetComponent<PlayerSpawner>();
playerSpawner.client = networkClient;
playerSpawner.server = networkServer;
playerSpawner.sceneManager = nsm;

nsm.client = networkClient;
nsm.server = networkServer;
Expand Down

0 comments on commit c7bd0be

Please sign in to comment.