summaryrefslogtreecommitdiff
path: root/server-beta/src/vm/getGlobal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/vm/getGlobal.lua')
-rw-r--r--server-beta/src/vm/getGlobal.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/server-beta/src/vm/getGlobal.lua b/server-beta/src/vm/getGlobal.lua
new file mode 100644
index 00000000..373c907e
--- /dev/null
+++ b/server-beta/src/vm/getGlobal.lua
@@ -0,0 +1,6 @@
+local vm = require 'vm.vm'
+
+function vm.getGlobal(source)
+ vm.getGlobals(source)
+ return vm.cache.getGlobal[source]
+end