We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce983c4 commit 25f189cCopy full SHA for 25f189c
Source/DynamicProperties/Patches/PartPatch.cs
@@ -25,7 +25,7 @@ private static void CreateRendererLists_Postfix(Part __instance)
25
props.SetFloat(PropertyIDs._RimFalloff, 2f);
26
props.SetColor(PropertyIDs._RimColor, Part.defaultHighlightNone);
27
foreach (var renderer in __instance.HighlightRenderer) {
28
- MaterialPropertyManager.Instance.Set(renderer, props);
+ MaterialPropertyManager.Instance?.Set(renderer, props);
29
}
30
31
0 commit comments