From d5d1a978d687c09b4236f805fd80b3a44d1dbb2b Mon Sep 17 00:00:00 2001 From: David Brown Date: Mon, 30 Dec 2019 15:32:20 +0000 Subject: [PATCH] check for never_learn before adding candidate recipes to sdcard --- src/iuse.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/iuse.cpp b/src/iuse.cpp index fc831355d959b..43000f9555efd 100644 --- a/src/iuse.cpp +++ b/src/iuse.cpp @@ -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 );