Fix bug where players life would decrease unexpectedly