Skip to content

Commit

Permalink
check for never_learn before adding candidate recipes to sdcard
Browse files Browse the repository at this point in the history
  • Loading branch information
David Brown committed Dec 30, 2019
1 parent 072ff2f commit d5d1a97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/iuse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6290,7 +6290,9 @@ static bool einkpc_download_memory_card( player &p, item &eink, item &mc )

for( const auto &e : recipe_dict ) {
const auto &r = e.second;

if( r.never_learn ) {
continue;
}
if( science ) {
if( r.difficulty >= 3 && one_in( r.difficulty + 1 ) ) {
candidates.push_back( &r );
Expand Down

0 comments on commit d5d1a97

Please sign in to comment.