i want to die.

This commit is contained in:
FatalErr42O 2024-03-27 20:02:22 -07:00
parent 0a89d03420
commit 83f502f1ed

View File

@ -31,7 +31,7 @@ local mt_conf = minetest.settings:to_table()
for i, v in pairs(Guns4d.config) do
--Guns4d.config[i] = conf[i] or minetest.settings["guns4d."..i] or Guns4d.config[i]
--cant use or because it'd evaluate to false if the setting is alse
if mt_conf[i] ~= nil then
if mt_conf["guns4d."..i] ~= nil then
Guns4d.config[i] = mt_conf["guns4d."..i]
elseif conf[i] ~= nil then
Guns4d.config[i] = conf[i]