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

Commit

Permalink
ignore all the spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Crzyrndm committed May 19, 2015
1 parent e0806a9 commit 38395b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions FilterExtension/Utility/PartType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -349,15 +349,15 @@ public static bool checkBulkHeadProfiles(AvailablePart part, string value, bool
{
if (part.bulkheadProfiles == null)
{
if (value == "srf")
if (value.Trim() == "srf")
return true;
return false;
}

string[] values = value.Split(',');
foreach (string s in part.bulkheadProfiles.Split(','))
{
if (values.Contains(s))
if (values.Any(v => v.Trim() == s.Trim()))
return true;
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
}

@PART:HAS[@MODULE[RealChuteModule]]:NEEDS[RealChute]:AFTER[RealChute]
@PART[*]:HAS[@MODULE[RealChuteModule]]:NEEDS[RealChute]:AFTER[RealChute]
{
@category = Utility
}
Binary file modified GameData/000_FilterExtensions/FilterExtensions.dll
Binary file not shown.

0 comments on commit 38395b8

Please sign in to comment.