diff options
author | paramat <paramat@users.noreply.github.com> | 2017-11-21 02:55:33 +0000 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-11-24 05:38:53 +0000 |
commit | 912ba1e47f61be18fa01cc91936929168c883f7b (patch) | |
tree | eb60b88fe080385293bad34967ebae4568e9b019 /builtin | |
parent | f7733f41ea36e7d4531fea61a4cd4b679514d263 (diff) | |
download | minetest-912ba1e47f61be18fa01cc91936929168c883f7b.tar.gz minetest-912ba1e47f61be18fa01cc91936929168c883f7b.tar.bz2 minetest-912ba1e47f61be18fa01cc91936929168c883f7b.zip |
Clearobjects: Send progress messages to terminal using actionstream
Change default mode to 'quick' as 'full' can lock up a server for a
long time.
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/game/chatcommands.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/game/chatcommands.lua b/builtin/game/chatcommands.lua index cbfe2fb25..1402724e5 100644 --- a/builtin/game/chatcommands.lua +++ b/builtin/game/chatcommands.lua @@ -896,10 +896,10 @@ core.register_chatcommand("clearobjects", { privs = {server=true}, func = function(name, param) local options = {} - if param == "" or param == "full" then - options.mode = "full" - elseif param == "quick" then + if param == "" or param == "quick" then options.mode = "quick" + elseif param == "full" then + options.mode = "full" else return false, "Invalid usage, see /help clearobjects." end |