aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2016-02-09 08:56:40 +0100
committerparamat <mat.gregory@virginmedia.com>2016-02-11 04:22:58 +0000
commit0f03547b033690932707b2dde1ce3eeb09ddcf7e (patch)
tree40f05eb7d8a470e9ddb8931aaeab22a97b2e295e
parentb1428ab4bb1e2cf73bc8ac951d41d22203ea68a0 (diff)
downloadminetest-0f03547b033690932707b2dde1ce3eeb09ddcf7e.tar.gz
minetest-0f03547b033690932707b2dde1ce3eeb09ddcf7e.tar.bz2
minetest-0f03547b033690932707b2dde1ce3eeb09ddcf7e.zip
Log /clearobjects mode
-rw-r--r--builtin/game/chatcommands.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/game/chatcommands.lua b/builtin/game/chatcommands.lua
index 9557a27c4..6b4ca0d12 100644
--- a/builtin/game/chatcommands.lua
+++ b/builtin/game/chatcommands.lua
@@ -861,7 +861,8 @@ core.register_chatcommand("clearobjects", {
return false, "Invalid usage, see /help clearobjects."
end
- core.log("action", name .. " clears all objects.")
+ core.log("action", name .. " clears all objects ("
+ .. options.mode .. " mode).")
core.chat_send_all("Clearing all objects. This may take long."
.. " You may experience a timeout. (by "
.. name .. ")")