That smell of decay is an invitation. The lantern stinkhorn draws insects in, and they carry its spores away in their droppings. In an experiment, spores that had passed through an earwig's gut sprouted better than ones that hadn't. Earwigs by night and flies by day probably do most of the spreading.
So the stink is a deal, and the insects are couriers. A fungus that can't move hires animals that can. It pays them in a meal, and they deliver its next generation, giving it a better start on the way through.
Tonight, after you've gone, the earwigs will come to collect.

