Steps to reproduce:
- Start a new world
- Give yourself all research
- Give yourself a combat shotgun + armor to survive worm attacks
- Find a worm
- Shoot it as fast as you can with the shotgun
Note while it's in it's firing animation the shotgun shells never bring it down to zero health but instead it sits right at 1 health until the animation finishes at which point it dies.