aboutsummaryrefslogtreecommitdiffstats
path: root/core/value.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-02-23 22:16:25 +0000
committers-ol <s-ol@users.noreply.github.com>2020-02-28 12:22:25 +0000
commit0b284ac60916142cadb8b65fa5ca9f9cffcfc200 (patch)
tree07fc75330d813d54751f42a2f55b979398929814 /core/value.moon
parentmerge Const and Stream into Value; Dataflow logic (diff)
downloadalive-0b284ac60916142cadb8b65fa5ca9f9cffcfc200.tar.gz
alive-0b284ac60916142cadb8b65fa5ca9f9cffcfc200.zip
lots of fixes
Diffstat (limited to 'core/value.moon')
-rw-r--r--core/value.moon1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/value.moon b/core/value.moon
index 986c846..6fbda65 100644
--- a/core/value.moon
+++ b/core/value.moon
@@ -98,6 +98,7 @@ class Value
-- @value - Lua value - access through :unwrap()
new: (@type, @value, @raw) =>
@updated = 0
+ pcall @\set, @value
dirty: => @updated == Registry.active!.tick