Skip to content

Commit

Permalink
Fix Remove Listener bug
Browse files Browse the repository at this point in the history
  • Loading branch information
FredTunaB committed May 4, 2019
1 parent 0dadf9a commit 0f918c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/SO Architecture/References/BaseReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void AddListener(System.Action action)
public void RemoveListener(System.Action action)
{
if (_variable != null)
_variable.AddListener(action);
_variable.RemoveListener(action);
}
public override string ToString()
{
Expand Down

0 comments on commit 0f918c2

Please sign in to comment.