From ad3898817e99a5113f5821c91518094bbbbe35c0 Mon Sep 17 00:00:00 2001 From: D1GQ Date: Fri, 23 Jan 2026 19:59:59 -0600 Subject: [PATCH] Recolor detective map --- src/Patches/Gameplay/UI/MiniMapBehaviourPatch.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Patches/Gameplay/UI/MiniMapBehaviourPatch.cs b/src/Patches/Gameplay/UI/MiniMapBehaviourPatch.cs index f56d3f6..7a3cf0b 100644 --- a/src/Patches/Gameplay/UI/MiniMapBehaviourPatch.cs +++ b/src/Patches/Gameplay/UI/MiniMapBehaviourPatch.cs @@ -12,9 +12,15 @@ internal static class MiniMapBehaviourPatch [HarmonyPatch(nameof(MapBehaviour.ShowNormalMap))] [HarmonyPostfix] private static void ShowNormalMap_Postfix(MapBehaviour __instance) => __instance.ColorControl.SetColor(new Color(0.05f, 0.6f, 1f, 1f)); + + [HarmonyPatch(nameof(MapBehaviour.ShowDetectiveMap))] + [HarmonyPostfix] + private static void ShowDetectiveMap_Postfix(MapBehaviour __instance) => __instance.ColorControl.SetColor(new Color(0.05f, 0.6f, 1f, 1f)); + [HarmonyPatch(nameof(MapBehaviour.ShowSabotageMap))] [HarmonyPostfix] private static void ShowSabotageMap_Postfix(MapBehaviour __instance) => __instance.ColorControl.SetColor(new Color(1f, 0.3f, 0f, 1f)); + [HarmonyPatch(nameof(MapBehaviour.ShowCountOverlay))] [HarmonyPostfix] private static void ShowCountOverlay_Postfix(MapBehaviour __instance) => __instance.ColorControl.SetColor(new Color(0.2f, 0.5f, 0f, 1f));