diff --git a/RasterPropMonitor/Auxiliary modules/JSICallbackAnimator.cs b/RasterPropMonitor/Auxiliary modules/JSICallbackAnimator.cs index e564d557..28df8cc8 100644 --- a/RasterPropMonitor/Auxiliary modules/JSICallbackAnimator.cs +++ b/RasterPropMonitor/Auxiliary modules/JSICallbackAnimator.cs @@ -506,10 +506,7 @@ public void OnStart(InternalProp thisProp, string variableName) LoadAnims(thisProp); - if (onAnim != null) - { - onAnim.Play(); - } + TurnOff(); } private void LoadAnims(InternalProp thisProp) @@ -596,13 +593,6 @@ internal void TearDown() { GameEvents.OnCameraChange.Remove(CameraChangeCallback); } - if (affectedMaterial != null) - { - UnityEngine.Object.Destroy(affectedMaterial); - affectedMaterial = null; - } - textureLayer = null; - controlledTransform = null; } ///