I think I know 2 solutions:

(A) The "gun" shoots the spore and a damageless explosion, to push the spore away...

(B) Make the spore a separate biped, on the "cyborg" team, or one of the unused ones, if there's a way to make it enemy to all but itself...