mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
[PortableCameraAdditions] Fixes for 2023r171
This commit is contained in:
parent
c4a7f51be3
commit
b757ac39d7
4 changed files with 23 additions and 8 deletions
|
@ -6,6 +6,19 @@ public class PortableCameraAdditions : MelonMod
|
|||
{
|
||||
public override void OnInitializeMelon()
|
||||
{
|
||||
//boobs
|
||||
ApplyPatches(typeof(HarmonyPatches.PortableCameraPatches));
|
||||
}
|
||||
|
||||
private void ApplyPatches(Type type)
|
||||
{
|
||||
try
|
||||
{
|
||||
HarmonyInstance.PatchAll(type);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LoggerInstance.Msg($"Failed while patching {type.Name}!");
|
||||
LoggerInstance.Error(e);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue