go to control.lua and replace function in line 404
local function get_resource_icon(resource_prototype)
if resource_prototype.mineable_properties == nil then
return nil
else
if resource_prototype.mineable_properties.products then
for _, product in ipairs(resource_prototype.mineable_properties.products) do
return
{ type = product.type, name = product.name, }
end
end
end
end
and it works!