Skip to content

Commit

Permalink
Update src/math_parser_diag.cpp
Browse files Browse the repository at this point in the history
Not silent.

Co-authored-by: andrei <[email protected]>
  • Loading branch information
EliadOArias and andrei8l authored Dec 28, 2024
1 parent fe0e2cf commit 1cafc29
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/math_parser_diag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1493,11 +1493,7 @@ diag_eval_dbl_f ugliness_eval( char scope, std::vector<diag_value> const & /* pa
diag_kwargs const & /* kwargs */ )
{
return[beta = is_beta( scope )]( const_dialogue const & d ) {
if( d.const_actor( beta ) ) {
return d.const_actor( beta )->get_ugliness();
} else {
return 0;
}
return d.const_actor( beta )->get_ugliness();
};
}

Expand Down

0 comments on commit 1cafc29

Please sign in to comment.