Make the mod work unconfigured and remove debug message
This commit is contained in:
parent
03ce6db43e
commit
e8d50c038b
1 changed files with 4 additions and 2 deletions
6
init.lua
6
init.lua
|
@ -2,8 +2,10 @@ playerlist = {
|
||||||
huds = {}
|
huds = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
local playerlist_key = minetest.settings:get("playerlist_key") or "sneak"
|
local playerlist_key = minetest.settings:get("playerlist_key")
|
||||||
print(playerlist_key)
|
if playerlist_key == "" then
|
||||||
|
playerlist_key = "sneak"
|
||||||
|
end
|
||||||
|
|
||||||
function playerlist.iterator()
|
function playerlist.iterator()
|
||||||
return ipairs(minetest.get_connected_players())
|
return ipairs(minetest.get_connected_players())
|
||||||
|
|
Loading…
Reference in a new issue