Skip to content

Commit

Permalink
Merge pull request CleverRaven#75415 from inogenous/remove-workout-yn…
Browse files Browse the repository at this point in the history
…-prompt

Remove unnecessary workout y/n prompt
  • Loading branch information
Maleclypse authored Aug 3, 2024
2 parents 1c140ab + b760808 commit 6b4c4d9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/handle_action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2714,9 +2714,7 @@ bool game::do_regular_action( action_id &act, avatar &player_character,
break;

case ACTION_WORKOUT:
if( query_yn( _( "Start workout?" ) ) ) {
player_character.assign_activity( workout_activity_actor( player_character.pos() ) );
}
player_character.assign_activity( workout_activity_actor( player_character.pos() ) );
break;

case ACTION_SUICIDE:
Expand Down

0 comments on commit 6b4c4d9

Please sign in to comment.