Apply suggestions from code review

This commit is contained in:
Hugo Locurcio
2023-12-20 19:10:07 +01:00
committed by GitHub
parent c5e2bd5043
commit 01fc89df62

View File

@ -95,8 +95,8 @@ end
local function add_ore(modname, description, mineral_name, oredef) local function add_ore(modname, description, mineral_name, oredef)
if mineral_name == "copper" and is_mcl_copper_present then if mineral_name == "copper" and is_mcl_copper_present then
return return
end end
local img_base = modname .. "_" .. mineral_name local img_base = modname .. "_" .. mineral_name
local toolimg_base = modname .. "_tool_"..mineral_name local toolimg_base = modname .. "_tool_"..mineral_name