diff --git a/KK_UncensorSelector/Hooks.cs b/KK_UncensorSelector/Hooks.cs index 9be01cea..08f3ae52 100644 --- a/KK_UncensorSelector/Hooks.cs +++ b/KK_UncensorSelector/Hooks.cs @@ -199,5 +199,10 @@ public static void ChangeCustomBodyWithoutCustomTexture(ChaControl __instance) if (!StudioAPI.InsideStudio && !MakerAPI.InsideMaker && uncensor != null) __instance.fileStatus.visibleSonAlways = uncensor.ShowPenis; } + /// + /// Demosaic + /// + [HarmonyPrefix, HarmonyPatch(typeof(ChaControl), "LateUpdateForce")] + public static void LateUpdateForce(ChaControl __instance) => __instance.hideMoz = true; } } diff --git a/KK_UncensorSelector/KK_UncensorSelector.cs b/KK_UncensorSelector/KK_UncensorSelector.cs index 825471d0..b8499719 100644 --- a/KK_UncensorSelector/KK_UncensorSelector.cs +++ b/KK_UncensorSelector/KK_UncensorSelector.cs @@ -740,9 +740,6 @@ protected override void OnReload(GameMode currentGameMode) CurrentChaFile = ChaControl.chaFile; ReloadCharacterUncensor(ChaControl, false); } - - //remove mosaic - ChaControl.hideMoz = true; } } }