fix error detected by luacheck

This commit is contained in:
tour 2024-02-14 13:31:26 +01:00
parent 7e71f8aa84
commit e35ef136c7

View File

@ -11,5 +11,5 @@ function chat_formspec.delete_context(name)
end
minetest.register_on_leaveplayer(function(player)
clear_context(player:get_player_name())
chat_formspec.delete_context(player:get_player_name())
end)