Update SpawnPlayerCustom.md

This commit is contained in:
MrGadget 2019-12-15 18:56:38 -05:00 committed by GitHub
parent 3e1d0bd147
commit 3b1e6dcc6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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