We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b212cc commit 4436fc2Copy full SHA for 4436fc2
Source/Tanks/EditorPartSetMaintainer.cs
@@ -57,7 +57,7 @@ private void UpdateCrossfeedSets(ShipConstruct ship)
57
private void OnPartAttach(GameEvents.HostTargetAction<Part, Part> hostTarget)
58
{
59
// Attaching: host is the incoming part
60
- if (hostTarget.target?.ship == EditorLogic.fetch.ship)
+ if (hostTarget.target?.localRoot?.ship == EditorLogic.fetch.ship)
61
ScheduleUpdateIfNeeded(hostTarget, isAttachEvent: true);
62
}
63
0 commit comments