//called on client side when client first connects to the server
    public override void OnClientConnect(NetworkConnection conn)
    {
        Logger.LogFormat("We (the client) connected to the server {0}", Category.Connections, conn);
        //Does this need to happen all the time? OnClientConnect can be called multiple times
        NetworkManagerExtensions.RegisterClientHandlers();

        base.OnClientConnect(conn);
    }
 public override void OnStartServer()
 {
     _isServer = true;
     base.OnStartServer();
     NetworkManagerExtensions.RegisterServerHandlers();
     // Fixes loading directly into the station scene
     if (GameManager.Instance.LoadedDirectlyToStation)
     {
         GameManager.Instance.PreRoundStart();
     }
 }