Fixed invulnerable infantry

Closes #6263