aboutsummaryrefslogtreecommitdiff
path: root/chatcommands.lua
diff options
context:
space:
mode:
authorNatureFreshMilk <naturefreshmilk@github.com>2019-09-10 07:25:03 +0200
committerNatureFreshMilk <naturefreshmilk@github.com>2019-09-10 07:25:03 +0200
commit9ce2af3c0d464fc526b2036d66cc86e989dc71e3 (patch)
tree04b045a1828b7b55232713ca6953fd5a91688dcd /chatcommands.lua
parentae937581e7167e2d6e9444b6ac2cd00bf2e2beca (diff)
downloadmesecons_debug-9ce2af3c0d464fc526b2036d66cc86e989dc71e3.tar.gz
mesecons_debug-9ce2af3c0d464fc526b2036d66cc86e989dc71e3.zip
Revert "embedded smart actionqueue"
This reverts commit 0941f6726b67669173c524302cf006c365895179.
Diffstat (limited to 'chatcommands.lua')
-rw-r--r--chatcommands.lua22
1 files changed, 0 insertions, 22 deletions
diff --git a/chatcommands.lua b/chatcommands.lua
deleted file mode 100644
index f382b98..0000000
--- a/chatcommands.lua
+++ /dev/null
@@ -1,22 +0,0 @@
-
--- mesecons commands
-
-minetest.register_chatcommand("mesecons_enable", {
- description = "enables the mesecons globlastep",
- privs = {mesecons_debug=true},
- func = function()
- mesecons_debug.enabled = true
- return true, "mesecons enabled"
- end
-})
-
-minetest.register_chatcommand("mesecons_disable", {
- description = "disables the mesecons globlastep",
- privs = {mesecons_debug=true},
- func = function()
- mesecons_debug.enabled = false
- -- flush actions, while we are on it
- mesecon.queue.actions = {}
- return true, "mesecons disabled"
- end
-})