Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

Commit

Permalink
linux filename fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Crzyrndm committed Dec 24, 2014
1 parent 15430eb commit b73a791
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions FilterExtension/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -114,6 +114,8 @@ private void editor()
if (c.subcategories.Count == 0)
PartCategorizer.Instance.filters.Remove(c);
}

PartCategorizer.Instance.SetAdvancedMode();
}

private void refreshList()
Expand Down
Binary file modified GameData/Filter Extensions/FilterExtensions.dll
Binary file not shown.

0 comments on commit b73a791

Please sign in to comment.