Skip to content

Commit c47d501

Browse files
authored
serves me right for writing code on github
1 parent 4157210 commit c47d501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Modules/ModuleCoPFollowTransform.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public override void OnLoad(ConfigNode node)
3030
{
3131
// this may be important if someone is swapping out versions of this module with B9PS
3232
// Note this probably isn't correct for parts that also have modules that mess with this field (e.g. ModuleProceduralFairing)
33-
part.CoPOffset = part.partInfo.CoPOffset;
33+
part.CoPOffset = part.partInfo.partPrefab.CoPOffset;
3434
}
3535

3636
// NOTE: isEnabled will be persisted to the save file, but we want to treat it purely as runtime state

0 commit comments

Comments
 (0)