Skip to content

Commit fa301e8

Browse files
committed
keep the rim color intact in the part mpb
1 parent 4c74786 commit fa301e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/DynamicProperties/Patches/PartPatch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private static IEnumerable<CodeInstruction> Highlight_Transpiler(
102102
.Start()
103103
.MatchStartForward(matchSetRimColor)
104104
.ThrowIfNotMatch("failed to find MPB set _RimColor call")
105-
.RemoveInstructions(matchSetRimColor.Length)
105+
.Advance(matchSetRimColor.Length)
106106
.InsertAndAdvance(
107107
// PartPatch.Highlight_SetRimColor(this, value);
108108
new CodeInstruction(OpCodes.Ldarg_0), // `this`

0 commit comments

Comments
 (0)