mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
Recolor detective map
This commit is contained in:
1 parent
7b25c72c38
commit
ad3898817e
1 file changed
+6
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user