From 0f918c20ad2c0b20fc69d941b0d5c5d4ebc0ecf2 Mon Sep 17 00:00:00 2001 From: FredTuna Date: Sat, 4 May 2019 17:43:29 -0400 Subject: [PATCH] Fix Remove Listener bug --- Assets/SO Architecture/References/BaseReference.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/SO Architecture/References/BaseReference.cs b/Assets/SO Architecture/References/BaseReference.cs index 58445521..2bc3be98 100644 --- a/Assets/SO Architecture/References/BaseReference.cs +++ b/Assets/SO Architecture/References/BaseReference.cs @@ -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() {