diff --git a/FilterExtension/Utility/PartType.cs b/FilterExtension/Utility/PartType.cs index f5d0eedd..76f2b75a 100644 --- a/FilterExtension/Utility/PartType.cs +++ b/FilterExtension/Utility/PartType.cs @@ -308,7 +308,7 @@ public static bool checkModuleNameType(AvailablePart part, string value) { foreach (PartModule pm in ap.partPrefab.Modules) { - if (!loaded_modules.ContainsKey(pm.moduleName)) + if (!string.IsNullOrEmpty(pm.moduleName) && !loaded_modules.ContainsKey(pm.moduleName)) { loaded_modules.Add(pm.moduleName, pm); } diff --git a/GameData/000_FilterExtensions/FilterExtensions.dll b/GameData/000_FilterExtensions/FilterExtensions.dll index 8550bff8..94c521a0 100644 Binary files a/GameData/000_FilterExtensions/FilterExtensions.dll and b/GameData/000_FilterExtensions/FilterExtensions.dll differ diff --git a/Testing/FE_Testing.dll b/Testing/FE_Testing.dll index 33258af1..4bd5a815 100644 Binary files a/Testing/FE_Testing.dll and b/Testing/FE_Testing.dll differ