diff --git a/Source/DynamicDrawPatches.cs b/Source/DynamicDrawPatches.cs index c04f00f..25789ea 100644 --- a/Source/DynamicDrawPatches.cs +++ b/Source/DynamicDrawPatches.cs @@ -121,7 +121,7 @@ static class OverlayDrawerPatch static IEnumerable TargetMethods() { foreach (var m in AccessTools.GetDeclaredMethods(typeof(OverlayDrawer))) - if (m.GetParameters().Length > 0 && m.GetParameters()[0].ParameterType == typeof(Thing)) + if (m.Name.StartsWith("Render") && m.GetParameters().Length > 0 && m.GetParameters()[0].ParameterType == typeof(Thing)) yield return m; }