Skip to content

Commit

Permalink
Stop Mutation Selector from firing
Browse files Browse the repository at this point in the history
  • Loading branch information
Maleclypse committed Jun 15, 2024
1 parent 4837839 commit 4f3d7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mutation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ void Character::mutate_category( const mutation_category_id &cat, const bool use
}

add_msg_debug( debugmode::DF_MUTATION, "mutate_category: mutate_towards category %s", cat.c_str() );
if( select_mutation || mutation_selector( valid, cat, use_vitamins ) ) {
if( select_mutation && mutation_selector( valid, cat, use_vitamins ) ) {
// Stop if mutation properly handled by mutation selector
return;
}
Expand Down

0 comments on commit 4f3d7c5

Please sign in to comment.