Skip to content

Commit

Permalink
Merge pull request #76 from FredTuna/master
Browse files Browse the repository at this point in the history
Fix RemoveListener bug
  • Loading branch information
DanielEverland authored May 7, 2019
2 parents 6157053 + 0f918c2 commit 7547b71
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 7547b71

Please sign in to comment.