Skip to content

Commit

Permalink
Merge pull request #70646 from hexagonrecursion/patch-1
Browse files Browse the repository at this point in the history
Move hobby randomization after set_body()
  • Loading branch information
Maleclypse authored Jan 4, 2024
2 parents 63e66ba + 2746eaa commit beff00a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/newcharacter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ void avatar::randomize( const bool random_scenario, bool play_now )

prof = get_scenario()->weighted_random_profession();
init_age = rng( this->prof->age_lower, this->prof->age_upper );
randomize_hobbies();
starting_city = std::nullopt;
world_origin = std::nullopt;
random_start_location = true;
Expand All @@ -464,6 +463,7 @@ void avatar::randomize( const bool random_scenario, bool play_now )
per_max = rng( 6, HIGH_STAT - 2 );

set_body();
randomize_hobbies();

int num_gtraits = 0;
int num_btraits = 0;
Expand Down

0 comments on commit beff00a

Please sign in to comment.