Skip to content

Commit

Permalink
Make No NPC Needs set fatigue to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
KheirFerrum committed Dec 3, 2022
1 parent ef5a513 commit 2a410ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4806,7 +4806,7 @@ void Character::update_needs( int rate_multiplier )
}

if( npc_no_food && get_fatigue() > fatigue_levels::tired ) {
set_fatigue( static_cast<int>( fatigue_levels::tired ) );
set_fatigue( 0 );
}
if( npc_no_food ) {
set_sleep_deprivation( 0 );
Expand Down

0 comments on commit 2a410ec

Please sign in to comment.