Skip to content

Commit

Permalink
Fix parentInstalled not returning correct value for non Part objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin Beym authored and Marvin Beym committed Aug 13, 2023
1 parent 16bb45d commit 04816a1
Show file tree
Hide file tree
Showing 2 changed files with 693 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source code/MscModApi/Parts/Part.cs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public bool parentInstalled
}
else
{
return parentGameObject.transform.parent == null;
return parentGameObject.transform.parent != null;
}
}
}
Expand Down
Loading

0 comments on commit 04816a1

Please sign in to comment.