Skip to content

Commit

Permalink
Item-Info: Colorize martial arts style list (#39653)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pupsi-Mupsi authored Apr 18, 2020
1 parent a93e935 commit ceb2fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/character_martial_arts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ std::string character_martial_arts::enumerate_known_styles( const itype_id &weap
{
return enumerate_as_string( ma_styles.begin(), ma_styles.end(),
[weap]( const matype_id & mid ) {
return mid->has_weapon( weap ) ? mid->name.translated() : std::string();
return mid->has_weapon( weap ) ? colorize( mid->name.translated(), c_cyan ) : std::string();
} );
}

Expand Down

0 comments on commit ceb2fd6

Please sign in to comment.