From 684c057306c2ebcdc27d48ea7d57275aa4165ad1 Mon Sep 17 00:00:00 2001 From: Gurge44 Date: Sat, 9 Nov 2024 17:24:56 +0100 Subject: [PATCH] fix --- Modules/DevManager.cs | 1 + Patches/ClientOptionsPatch.cs | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/Modules/DevManager.cs b/Modules/DevManager.cs index 6c17ee1e7..0cefd16c0 100644 --- a/Modules/DevManager.cs +++ b/Modules/DevManager.cs @@ -117,6 +117,7 @@ namespace EHR new("pocketdoor#9080", isUp: true), // Imnot new("motorstack#2287", "#E34234", "Foxfire", true), // Esrazraft new("motorlace#4741", "#DFB722", "\u2756 Assistant Tester \u2756", true), // PEPPERcula + new("kohlcuboid#5702", "#DFB722", "\u2756 Assistant Tester \u2756", true), // PEPPERcula new("keyrunning#8720", "#00ffff", "Miku", true), // EverMortal_1455 new("yellowjoy#3138", "#FFE87C", "Sunshine", true), // Becksy new("stuckclaw#5717", "#FF474C", "The biggest SUS", true), // BIG SUS diff --git a/Patches/ClientOptionsPatch.cs b/Patches/ClientOptionsPatch.cs index 9be6e7a48..438c3a595 100644 --- a/Patches/ClientOptionsPatch.cs +++ b/Patches/ClientOptionsPatch.cs @@ -178,4 +178,13 @@ namespace EHR #endif } } + + [HarmonyPatch(typeof(OptionsMenuBehaviour), nameof(OptionsMenuBehaviour.Close))] + public static class OptionsMenuBehaviourClosePatch + { + public static void Postfix() + { + ClientOptionItem.CustomBackground?.gameObject.SetActive(false); + } + } } \ No newline at end of file