Fixed sign in score += blackKingSafety(i);