Skip to content
This repository has been archived by the owner on Feb 20, 2020. It is now read-only.

Commit

Permalink
Merge pull request DanielEverland#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 e5522ef + 2ad450e commit 87e6c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 87e6c84

Please sign in to comment.