Fixes #3788, goats retaliating when dead

Fix for issue #3788.