Skip to content

Commit

Permalink
Fix demosaic
Browse files Browse the repository at this point in the history
  • Loading branch information
DeathWeasel1337 committed Feb 20, 2019
1 parent f4f7c9c commit 38148f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions KK_UncensorSelector/Hooks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,5 +199,10 @@ public static void ChangeCustomBodyWithoutCustomTexture(ChaControl __instance)
if (!StudioAPI.InsideStudio && !MakerAPI.InsideMaker && uncensor != null)
__instance.fileStatus.visibleSonAlways = uncensor.ShowPenis;
}
/// <summary>
/// Demosaic
/// </summary>
[HarmonyPrefix, HarmonyPatch(typeof(ChaControl), "LateUpdateForce")]
public static void LateUpdateForce(ChaControl __instance) => __instance.hideMoz = true;
}
}
3 changes: 0 additions & 3 deletions KK_UncensorSelector/KK_UncensorSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -740,9 +740,6 @@ protected override void OnReload(GameMode currentGameMode)
CurrentChaFile = ChaControl.chaFile;
ReloadCharacterUncensor(ChaControl, false);
}

//remove mosaic
ChaControl.hideMoz = true;
}
}
}
Expand Down

0 comments on commit 38148f9

Please sign in to comment.