Skip to content

Commit

Permalink
Merge pull request #49759 from GoLoT/cbm_aid_on_npcs
Browse files Browse the repository at this point in the history
Fix CBM install data retrieval when installing CBM on NPC
  • Loading branch information
ZhilkinSerg authored Jul 10, 2021
2 parents d3d25ec + 95e2888 commit 9815277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iexamine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4843,7 +4843,7 @@ void iexamine::autodoc( player &p, const tripoint &examp )
patient.install_bionics( ( *itemtype ), installer, true, has_install_program ? 10 : -1 );

if( has_install_program ) {
patient.consume_items( progs );
p.consume_items( progs );
}
}
break;
Expand Down

0 comments on commit 9815277

Please sign in to comment.