class KFMutatorPage extends UT2K4Tab_MutatorBase; // Called when a new gametype has been selected - remove any mutators which affect physics if // this gametype doesn't allow them function SetCurrentGame( CacheManager.GameRecord CurrentGame ) { local int i; local string m, t; local class GameClass; if ( MutatorList.Length > 0 ) m = BuildActiveMutatorString(); else m = LastActiveMutators; class'CacheManager'.static.GetMutatorList(MutatorList); GameClass = class(DynamicLoadObject(CurrentGame.ClassName, class'Class')); if ( GameClass != None ) { for ( i = MutatorList.Length - 1; i >= 0; i-- ) if ( !GameClass.static.AllowMutator(MutatorList[i].ClassName) ) MutatorList.Remove(i,1); } // Disable the list's OnChange() delegate lb_Active.List.bNotify = False; lb_Avail.List.bNotify = False; lb_Active.List.Clear(); lb_Avail.List.Clear(); for (i=0;i