summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--state.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.rb b/state.rb
index b45ebb5..1381480 100644
--- a/state.rb
+++ b/state.rb
@@ -221,7 +221,7 @@ private
# Set this state to true
def rise
return if @active
- self.class.depends.each{ |x| x.hold(self) }
+ @deps.each{ |x| x.hold(self) }
self.class.rising_edge.call(params)
@active = true
State.depsolve_all