Skip to content

Commit

Permalink
Update src/suffer.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Consoleable and github-actions[bot] authored Jul 26, 2024
1 parent 5c250dd commit c9b95a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/suffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@ void suffer::from_addictions( Character &you )
if( cur_addiction.sated <= 0_turns &&
cur_addiction.intensity >= MIN_ADDICTION_LEVEL ) {
if( uistate.distraction_withdrawal && !you.is_npc() ) {
g->cancel_activity_or_ignore_query( distraction_type::withdrawal, _( "You start having withdrawals!" ) );
g->cancel_activity_or_ignore_query( distraction_type::withdrawal,
_( "You start having withdrawals!" ) );
}
cur_addiction.run_effect( you );
}
Expand Down

0 comments on commit c9b95a6

Please sign in to comment.