Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function OnPlayerConnected(player: NetworkPlayer) {
- if (Network.connections.Length == GameManager.opt_numplayers) {
- print("Quota filled");
- MasterServer.UnregisterHost();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement