예제 #1
0
 public static void Prefix(
     ref LevelSet set, ref LevelGridMenu.PlaylistEntry.Type type)
 {
     if (type != LevelGridMenu.PlaylistEntry.Type.Campaign)
     {
         foreach (var level in set.GetAllLevelNameAndPathPairs())
         {
             if (Campaigns.LevelPaths.Contains(level.levelPath_.NormPath(true)))
             {
                 set.RemoveLevel(level.levelPath_.Normalize());
             }
         }
     }
 }