From 524d6014d0520fdee9f618230451b4e276c99e89 Mon Sep 17 00:00:00 2001 From: Joe Ward Date: Tue, 9 Aug 2016 16:24:14 -0700 Subject: [PATCH] removed redundant line of code. --- .../Attachments/Scripts/AttachmentController.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Assets/LeapMotionModules/Attachments/Scripts/AttachmentController.cs b/Assets/LeapMotionModules/Attachments/Scripts/AttachmentController.cs index 513edc4f24..cf9250c327 100644 --- a/Assets/LeapMotionModules/Attachments/Scripts/AttachmentController.cs +++ b/Assets/LeapMotionModules/Attachments/Scripts/AttachmentController.cs @@ -101,7 +101,6 @@ public virtual void Deactivate(bool doTransition = true) { protected virtual void ChangeChildState(){ if(Transition != null){ Transition.OnComplete.RemoveListener(ChangeChildState); - Transition.OnComplete.RemoveListener(ChangeChildState); } Transform[] children = GetComponentsInChildren(true); for(int g = 0; g < children.Length; g++){