Skip to content

Commit

Permalink
removed redundant line of code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Ward committed Aug 9, 2016
1 parent 1e38792 commit 524d601
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Transform>(true);
for(int g = 0; g < children.Length; g++){
Expand Down

0 comments on commit 524d601

Please sign in to comment.