summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/init.lua b/init.lua
index b239609..7a1f902 100644
--- a/init.lua
+++ b/init.lua
@@ -1194,10 +1194,6 @@ minetest.register_on_joinplayer(function(player)
end
end)
-minetest.register_on_leaveplayer(function(player)
- doc.data.players[player:get_player_name()] = nil
-end)
-
---[[ Add buttons for inventory mods ]]
local button_action = function(player)
doc.show_doc(player:get_player_name())