small fix for selected unit death

forgot to account for that.