detects end of match even if hero was not destroyed