Fix blocker=no in AI [recruitment_instructions]
This commit is contained in:
parent
dca021e9ad
commit
078cc87ab1
1 changed files with 1 additions and 1 deletions
|
@ -1393,7 +1393,7 @@ bool recruitment::recruit_matches_types(const std::string& recruit,
|
|||
*/
|
||||
bool recruitment::remove_job_if_no_blocker(config* job) {
|
||||
assert(job);
|
||||
if (!job->operator[]("blocker").to_bool(true)) {
|
||||
if ((*job)["blocker"].to_bool(true)) {
|
||||
LOG_AI_RECRUITMENT << "Canceling job.\n";
|
||||
job->clear();
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue