When I added the fork in I forgot to pick up all of the factories prior to deleting, but when I try to pick them up, the factory sprite is still there. Is there a way for me the get rid of the sprites?
/c for _,s in pairs(game.surfaces) do for _,e in pairs(s.find_entities_filtered{name={'factory-1-overlay', 'factory-2-overlay', 'factory-3-overlay'}}) do e.destroy() end end