mirror of
https://github.com/minetest/minetest.git
synced 2025-01-10 15:27:29 +01:00
parent
794aea8e92
commit
0c3117f9b3
@ -359,7 +359,7 @@ local function check_requirements(name, requires)
|
|||||||
if special[req_key] == nil then
|
if special[req_key] == nil then
|
||||||
local required_setting = get_setting_info(req_key)
|
local required_setting = get_setting_info(req_key)
|
||||||
if required_setting == nil then
|
if required_setting == nil then
|
||||||
core.log("warning", "Unknown setting " .. req_key .. " required by " .. name)
|
core.log("warning", "Unknown setting " .. req_key .. " required by " .. (name or "???"))
|
||||||
end
|
end
|
||||||
local actual_value = core.settings:get_bool(req_key,
|
local actual_value = core.settings:get_bool(req_key,
|
||||||
required_setting and core.is_yes(required_setting.default))
|
required_setting and core.is_yes(required_setting.default))
|
||||||
|
@ -82,7 +82,6 @@ end
|
|||||||
return {
|
return {
|
||||||
query_text = "Shadows",
|
query_text = "Shadows",
|
||||||
requires = {
|
requires = {
|
||||||
shaders = true,
|
|
||||||
opengl = true,
|
opengl = true,
|
||||||
},
|
},
|
||||||
get_formspec = function(self, avail_w)
|
get_formspec = function(self, avail_w)
|
||||||
|
Loading…
Reference in New Issue
Block a user