Legacy:Evolution/ETVSA

From Unreal Wiki, The Unreal Engine Documentation Site
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class ETVSA extends Info;

function PostBeginPlay()
{
	local Mutator M;
	local EvoETV EETV;

	super.PostBeginPlay();
	for (M=Level.Game.BaseMutator;M!=None;M=M.NextMutator)
	{
		if (EvoETV(M)!=None)
			return;
	}
	EETV = Spawn(class'EvoETV');
	if (Level.Game.BaseMutator!=None)
		Level.Game.BaseMutator.AddMutator(EETV);
	else Level.Game.BaseMutator=EETV;
}