summaryrefslogtreecommitdiff
path: root/plugins/MirLua/docs/examples/variables.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/docs/examples/variables.lua')
-rw-r--r--plugins/MirLua/docs/examples/variables.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/MirLua/docs/examples/variables.lua b/plugins/MirLua/docs/examples/variables.lua
index dee0f4f8e0..422c8b88bb 100644
--- a/plugins/MirLua/docs/examples/variables.lua
+++ b/plugins/MirLua/docs/examples/variables.lua
@@ -1,5 +1,3 @@
local vars = require('m_variables')
-m.OnModulesLoaded(function()
- print(vars.FormatString('?add(2,2)'))
- end)
+print(vars.FormatString('?add(2,2)'))