diff --git a/FilterExtension/Check.cs b/FilterExtension/Check.cs index 58e81a75..d1ad0132 100644 --- a/FilterExtension/Check.cs +++ b/FilterExtension/Check.cs @@ -91,7 +91,14 @@ private bool checkManufacturer(AvailablePart part) private bool checkFolder(AvailablePart part) { - bool folderCheck = Core.partFolderDict[part.name] == value; + if (part.name == "PotatoRoid") + return false; + + bool folderCheck = false; + if (Core.partFolderDict.ContainsKey(part.name)) + folderCheck = Core.partFolderDict[part.name] == value; + else + Debug.Log("[Filter Extensions] Unable to assign a mod to the part " + part.title); return (folderCheck && pass) || !(folderCheck || pass); } diff --git a/GameData/Filter Extensions/FilterExtensions.dll b/GameData/Filter Extensions/FilterExtensions.dll index 21622714..f29f1a16 100644 Binary files a/GameData/Filter Extensions/FilterExtensions.dll and b/GameData/Filter Extensions/FilterExtensions.dll differ