diff --git a/FilterExtension/Core.cs b/FilterExtension/Core.cs index 00a7a5fb..7a1645a8 100644 --- a/FilterExtension/Core.cs +++ b/FilterExtension/Core.cs @@ -35,8 +35,8 @@ void Awake() if (string.IsNullOrEmpty(p.partUrl)) continue; - - string name = p.partUrl.Split('/')[0]; + p.partUrl = KSPUtil.SanitizeFilename(p.partUrl); + string name = p.partUrl.Split('_')[0]; if (!modNames.Contains(name)) modNames.Add(name); @@ -114,6 +114,8 @@ private void editor() if (c.subcategories.Count == 0) PartCategorizer.Instance.filters.Remove(c); } + + PartCategorizer.Instance.SetAdvancedMode(); } private void refreshList() diff --git a/GameData/Filter Extensions/FilterExtensions.dll b/GameData/Filter Extensions/FilterExtensions.dll index f29f1a16..0cdcccaf 100644 Binary files a/GameData/Filter Extensions/FilterExtensions.dll and b/GameData/Filter Extensions/FilterExtensions.dll differ