mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Update SpawnPlayerCustom.md
This commit is contained in:
parent
3e1d0bd147
commit
3b1e6dcc6f
@ -81,7 +81,7 @@ public class MMONetworkManager : NetworkManager
|
||||
player.race = message.race;
|
||||
|
||||
// call this to use this gameobject as the primary controller
|
||||
NetworkServer.AddPlayerForConnection(conn, player);
|
||||
NetworkServer.AddPlayerForConnection(conn, gameobject);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user