summaryrefslogtreecommitdiff
path: root/builtin/game/chatcommands.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/game/chatcommands.lua')
-rw-r--r--builtin/game/chatcommands.lua6
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