Fix: Comment on minetest.settings:get() behavior.

master
aa6 2022-02-22 22:17:04 +03:00
parent 4d685be109
commit c124238eba
3 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
0.11.9
0.11.10

View File

@ -3,6 +3,8 @@ dofile(minetest.get_modpath(minetest.get_current_modname()).."/config.lua")
-- Processing in-game settings. In-game settings are preferrable
-- over global config.lua values.
-- Warning: minetest.settings:get() and minetest.settings:get_bool()
-- return `nil` value when not set, instead of actual default value.
function minetest_wadsprint.load_minetest_settings_key(key,type)
if type == "int" then
if minetest.settings:get("minetest_wadsprint."..key) ~= nil then

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB