Log /clearobjects mode
authorKahrl <kahrl@gmx.net>
Tue, 9 Feb 2016 07:56:40 +0000 (08:56 +0100)
committerparamat <mat.gregory@virginmedia.com>
Thu, 11 Feb 2016 04:22:58 +0000 (04:22 +0000)
builtin/game/chatcommands.lua

index 9557a27c4179f949766180ec00be0b3aafcddad5..6b4ca0d12df4f4d6417296abfdcf107cc43549b6 100644 (file)
@@ -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 .. ")")