[misc] Fix deprecated call for minetest settings

This commit is contained in:
Sys Quatre 2021-02-25 23:39:15 +01:00
parent 92464d39c3
commit ba797c4d39

View File

@ -20,7 +20,7 @@ minetest.register_on_leaveplayer(function(player)
minetest.sound_play("player_leave", {gain = 1})
end)
if minetest.setting_getbool("log_mods") then
if minetest.settings.get_bool("log_mods") then
-- Highlight the default mod in the mod loading logs:
minetest.log("action", "Carbone: * [default] loaded.")
end