Fungal infections are common enough and one of the causes of the general category of symptoms labeled as pneumonia.
Fungal infections are opportunistic infections.
People with weakened immune function, in particular, succumb to those.
So a virus that takes out your immune system puts you at risk for fungal infections.