Skip to content

Commit

Permalink
Skimming through book's contents won't show skill increasing indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
Valiant committed Feb 7, 2020
1 parent 0428604 commit 8340fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player_activity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ cata::optional<std::string> player_activity::get_progress_message( const avatar
if( const auto &reading = book->type->book ) {
const skill_id &skill = reading->skill;
if( skill && u.get_skill_level( skill ) < reading->level &&
u.get_skill_level_object( skill ).can_train() ) {
u.get_skill_level_object( skill ).can_train() && u.has_identified( book->typeId() ) ) {
const SkillLevel &skill_level = u.get_skill_level_object( skill );
//~ skill_name current_skill_level -> next_skill_level (% to next level)
extra_info = string_format( pgettext( "reading progress", "%s %d -> %d (%d%%)" ),
Expand Down

0 comments on commit 8340fba

Please sign in to comment.