More doc for /update_lobby

This commit is contained in:
Ekdohibs 2017-01-26 22:11:47 +01:00
parent 503db23766
commit 5c68ab7b50

View File

@ -676,7 +676,10 @@ minetest.register_chatcommand("leave", {
local lobby_updates = {} local lobby_updates = {}
minetest.register_chatcommand("update_lobby", { minetest.register_chatcommand("update_lobby", {
params = "entry|exit", params = "entry|exit",
description = "Set corresponding lobby. Use without parameter to start updating a lobby", description = "Set corresponding lobby. Use without parameter to start \
updating a lobby, then punch both corners of the lobby and the bottom node \
of the exit. In the case of the entry lobby, stand at its spawnpoint to run \
the command.",
privs = {server = true}, privs = {server = true},
func = function(name, param) func = function(name, param)
if param ~= "entry" and param ~= "exit" and param ~= "" then if param ~= "entry" and param ~= "exit" and param ~= "" then