Skip to content

Commit ebc7aba

Browse files
authored
Merge pull request #148 from ZiwKerman/develop
1.3 minor fix
2 parents 0c1e7f1 + 1946c91 commit ebc7aba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

InfernalRobotics/InfernalRobotics/Gui/EditorCategory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ private void IRCustomFilter()
3737

3838
//Adding our own subcategory to main filter
3939
PartCategorizer.Category filter = PartCategorizer.Instance.filters.Find(f => f.button.categoryName == FILTER_CATEGORY);
40-
PartCategorizer.AddCustomSubcategoryFilter(filter, CUSTOM_CATEGORY_NAME, icon, p => availableParts.Contains(p));
40+
PartCategorizer.AddCustomSubcategoryFilter(filter, CUSTOM_CATEGORY_NAME, CUSTOM_CATEGORY_NAME, icon, p => availableParts.Contains(p));
4141

4242
//KSP.UI.UIRadioButton button = filter.button.activeButton;
4343

InfernalRobotics/InfernalRobotics/Module/ModuleIRServo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,8 @@ public void OnVesselGoOnRails (Vessel v)
471471
joint.angularZMotion = ConfigurableJointMotion.Locked;
472472
}
473473

474-
rotationDelta = GetRealRotation();
475-
translationDelta = GetRealTranslation();
474+
rotationDelta = rotation;
475+
translationDelta = translation;
476476

477477
isOnRails = true;
478478
}

0 commit comments

Comments
 (0)