mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-04 07:19:22 +00:00
[BadAnimatorFix] Don't touch non-loop states.
This commit is contained in:
parent
935639a2f3
commit
ab4276e880
5 changed files with 16 additions and 34 deletions
|
@ -27,7 +27,6 @@ public class BadAnimatorFix : MelonMod
|
|||
public override void OnInitializeMelon()
|
||||
{
|
||||
Logger = LoggerInstance;
|
||||
EntryEnabled.OnEntryValueChanged.Subscribe(OnEntryEnabledChanged);
|
||||
ApplyPatches(typeof(HarmonyPatches.AnimatorPatches));
|
||||
}
|
||||
|
||||
|
@ -39,11 +38,6 @@ public class BadAnimatorFix : MelonMod
|
|||
BadAnimatorFixManager.OnSceneInitialized(sceneName);
|
||||
}
|
||||
|
||||
private void OnEntryEnabledChanged(bool newValue, bool oldValue)
|
||||
{
|
||||
BadAnimatorFixManager.ToggleJob(newValue);
|
||||
}
|
||||
|
||||
private void ApplyPatches(Type type)
|
||||
{
|
||||
try
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue