aboutsummaryrefslogtreecommitdiffstats
path: root/core/value.moon
diff options
context:
space:
mode:
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