replace deprecated setting methods

This commit is contained in:
DS-Minetest
2017-07-05 18:52:46 +02:00
parent a7da195aa1
commit e8a666f34e
5 changed files with 13 additions and 13 deletions

View File

@ -291,7 +291,7 @@ local guide_size = {x=40, y=10, cx=0.2, cy=0.2}
local formspec_offset = {x=0.25, y=0.50}
local font_size
if minetest.is_singleplayer() then
font_size = tonumber(minetest.setting_get("font_size")) or 13
font_size = tonumber(minetest.settings:get("font_size")) or 13
else
font_size = 13
end