Skip to content

Commit

Permalink
Merge pull request #40387 from CodeBandit/Caloric-messages
Browse files Browse the repository at this point in the history
Reduce calorie message spam to once every 12 hours
  • Loading branch information
kevingranade authored May 11, 2020
2 parents 22331cc + 7fa9867 commit 42a0671
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 @@ -4979,7 +4979,7 @@ void Character::check_needs_extremes()
g->events().send<event_type::dies_of_starvation>( getID() );
hp_cur[hp_torso] = 0;
} else {
if( calendar::once_every( 1_hours ) ) {
if( calendar::once_every( 12_hours ) ) {
std::string category;
if( stomach.contains() <= stomach.capacity( *this ) / 4 ) {
if( get_kcal_percent() < 0.1f ) {
Expand Down

0 comments on commit 42a0671

Please sign in to comment.