diff options
author | Zughy <63455151+Zughy@users.noreply.github.com> | 2020-05-13 11:56:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 13:56:26 +0200 |
commit | 4e997e9d047068bfccd30fb700e2b3b9f48fda4c (patch) | |
tree | bfe5a3aec18ac95f07be4833f7f6e430ef73e8ff /builtin/game | |
parent | 7ec76e530db9c3ed093e6edeca156e9311a6378a (diff) | |
download | minetest-4e997e9d047068bfccd30fb700e2b3b9f48fda4c.tar.gz minetest-4e997e9d047068bfccd30fb700e2b3b9f48fda4c.tar.bz2 minetest-4e997e9d047068bfccd30fb700e2b3b9f48fda4c.zip |
Document inf value in rollback commands (#9789)
Diffstat (limited to 'builtin/game')
-rw-r--r-- | builtin/game/chat.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/game/chat.lua b/builtin/game/chat.lua index a71f4b329..c8fa4175d 100644 --- a/builtin/game/chat.lua +++ b/builtin/game/chat.lua @@ -777,7 +777,7 @@ core.register_chatcommand("rollback_check", { params = "[<range>] [<seconds>] [<limit>]", description = "Check who last touched a node or a node near it" .. " within the time specified by <seconds>. Default: range = 0," - .. " seconds = 86400 = 24h, limit = 5", + .. " seconds = 86400 = 24h, limit = 5. Set <seconds> to inf for no time limit", privs = {rollback=true}, func = function(name, param) if not core.settings:get_bool("enable_rollback_recording") then @@ -828,7 +828,7 @@ core.register_chatcommand("rollback_check", { core.register_chatcommand("rollback", { params = "(<name> [<seconds>]) | (:<actor> [<seconds>])", - description = "Revert actions of a player. Default for <seconds> is 60", + description = "Revert actions of a player. Default for <seconds> is 60. Set <seconds> to inf for no time limit", privs = {rollback=true}, func = function(name, param) if not core.settings:get_bool("enable_rollback_recording") then |