[misc] fix crash

This commit is contained in:
Sys Quatre 2021-02-26 16:11:47 +01:00
parent 9eb6bb4343
commit c743d3160a

View File

@ -20,7 +20,7 @@ minetest.register_on_leaveplayer(function(player)
minetest.sound_play("player_leave", {gain = 1})
end)
if minetest.settings.get_bool("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