fixed the error when someone dies during battle.
Merge branch 'master' of https://github.com/CharlieMouton/FE_Final_Project