mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-03 10:29:22 +00:00
Minor fixes
This commit is contained in:
parent
aebf6c2c4e
commit
914bca26e4
14 changed files with 226 additions and 54 deletions
|
@ -56,6 +56,8 @@ namespace ml_amt
|
|||
if(ms_instance == this)
|
||||
ms_instance = null;
|
||||
|
||||
if(m_localTweaker != null)
|
||||
UnityEngine.Object.Destroy(m_localTweaker);
|
||||
m_localTweaker = null;
|
||||
}
|
||||
|
||||
|
|
|
@ -74,6 +74,10 @@ namespace ml_amt
|
|||
|
||||
void OnDestroy()
|
||||
{
|
||||
m_vrIk = null;
|
||||
m_ikLimits = null;
|
||||
m_parameters.Clear();
|
||||
|
||||
Settings.CrouchLimitChange -= this.SetCrouchLimit;
|
||||
Settings.ProneLimitChange -= this.SetProneLimit;
|
||||
Settings.IKOverrideFlyChange -= this.SetIKOverrideFly;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue