rematch use the same leave function, added a grace period for connection disconnect
This commit is contained in:
@@ -530,8 +530,7 @@ public class NetPlayer : NetworkBehaviour
|
||||
Cupid.RoomPort = branch.Port;
|
||||
LoginManager.SetMatchYourTeam(branch.your_team);
|
||||
|
||||
GameManager.instance.StopClient();
|
||||
LevelLoadManager.LoadLevel("Game");
|
||||
GameManager.instance.Leave("Game");
|
||||
}
|
||||
|
||||
void OnRematchCancelledServer(){
|
||||
|
||||
Reference in New Issue
Block a user