summaryrefslogtreecommitdiff
path: root/builtin/client/preview.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/client/preview.lua')
-rw-r--r--builtin/client/preview.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/builtin/client/preview.lua b/builtin/client/preview.lua
index 4b277b0c6..c421791f5 100644
--- a/builtin/client/preview.lua
+++ b/builtin/client/preview.lua
@@ -22,3 +22,10 @@ end)
core.register_on_damage_taken(function(hp)
print("[PREVIEW] Damage taken " .. hp)
end)
+
+-- This is an example function to ensure it's working properly, should be removed before merge
+core.register_chatcommand("dump", {
+ func = function(name, param)
+ return true, dump(_G)
+ end,
+}) \ No newline at end of file