Skip to content

Commit

Permalink
Backporting CleverRaven#49759 Fix CBM install data retrieval when ins…
Browse files Browse the repository at this point in the history
…talling CBM on NPC
  • Loading branch information
ZhilkinSerg committed Aug 14, 2021
1 parent 0b3fc41 commit a24052b
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 @@ -5024,7 +5024,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 a24052b

Please sign in to comment.