class UR_GameReplicationInfo extends UTGameReplicationInfo;

simulated event ReplicatedEvent(name VarName)
{
	local UR_PlayerController P;

    if ( VarName == 'bMatchHasBegun' )
	{
		if (bMatchHasBegun)
		{
			WorldInfo.NotifyMatchStarted();
			OnlineSession_StartMatch();

			foreach WorldInfo.AllControllers(class'UR_PlayerController', P)
	        {
		      if (P.Pawn == None)
              {
                 P.ShowClassMenu();
                 P.setServerPlayerSelection(P.PlayerSelection.PlayerClass, P.PlayerSelection.PlayerWeapon, P.PlayerSelection.PlayerKit, P.PlayerSelection.ArmourRatio, P.PlayerSelection.ColourData, P.PlayerSelection.EffectsColour);
			   P.ServerReStartPlayer();
		      }
		    }
		}
	}
	else if ( VarName == 'bMatchIsOver' )
	{
		if ( bMatchIsOver )
		{
			EndGame();
		}
	}
	else
	{
		Super.ReplicatedEvent(VarName);
	}
}