summaryrefslogtreecommitdiff
path: root/script/vm/state.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/state.lua')
-rw-r--r--script/vm/state.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/state.lua b/script/vm/state.lua
index 44b62684..87376952 100644
--- a/script/vm/state.lua
+++ b/script/vm/state.lua
@@ -38,7 +38,7 @@ end
function m.dropUri(uri)
local subscription = m.subscriptions[uri]
m.subscriptions[uri] = nil
- for name in pairs(subscription) do
+ for name in pairs(subscription.globals) do
m.globals[name]:dropUri(uri)
end
end