i did disable rifle on my custom run, but the ammo still spawn.

Is that a bug or a feature of the game? Because i can harvest those if the rifle doesn't spawn