Skip to content

Commit

Permalink
Merge pull request #15 from Li0n-0/DEV
Browse files Browse the repository at this point in the history
1.8
  • Loading branch information
Li0n-0 committed Sep 21, 2017
2 parents 7cf969d + 26e4c2b commit 5ea333b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file modified GameData/CrewLight/CrewLight.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion GameData/CrewLight/CrewLight.version
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"VERSION":
{
"MAJOR":1,
"MINOR":7,
"MINOR":8,
"PATCH":0,
"BUILD":0
},
Expand Down
3 changes: 2 additions & 1 deletion Source/SwitchLight.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ private static List<PartModule> GetLightModule (Part part)
}
if (part.Modules.Contains<ModuleAnimateGeneric> ()) {
foreach (ModuleAnimateGeneric module in part.Modules.GetModules<ModuleAnimateGeneric> ()) {
if (Regex.IsMatch(module.actionGUIName, "light", RegexOptions.IgnoreCase)) {
if (Regex.IsMatch(module.actionGUIName, "light", RegexOptions.IgnoreCase)
|| Regex.IsMatch(module.startEventGUIName, "light", RegexOptions.IgnoreCase)) {
lightList.Add (module);
}
}
Expand Down

0 comments on commit 5ea333b

Please sign in to comment.