aboutsummaryrefslogtreecommitdiffstats
path: root/core/base.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-03-02 13:16:21 +0000
committers-ol <s-ol@users.noreply.github.com>2020-03-02 13:16:21 +0000
commitdf91fee4a7bb17f8822a0a5637533257d30e0743 (patch)
tree54f1a3a7bc7b850cc4b0a87296670612274ca518 /core/base.moon
parentconvert lib.time to IO (diff)
downloadalive-df91fee4a7bb17f8822a0a5637533257d30e0743.tar.gz
alive-df91fee4a7bb17f8822a0a5637533257d30e0743.zip
update lib.math and lib.logic to new op interface
Diffstat (limited to 'core/base.moon')
-rw-r--r--core/base.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/base.moon b/core/base.moon
index cf3d146..c6ea694 100644
--- a/core/base.moon
+++ b/core/base.moon
@@ -31,7 +31,7 @@ class Input
--
-- during setup, only marked dirty if old and new stream differ in value
class ValueInput extends Input
- merge: (old) => @dirty_setup = not old or @stream\unwrap! != old\unwrap!
+ merge: (old) => @dirty_setup = not old or @stream != old.stream
finish_setup: => @dirty_setup = false
dirty: => @dirty_setup or @stream\dirty!