Skip to content

Commit

Permalink
Update src/newcharacter.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
Maleclypse and github-actions[bot] authored Jan 19, 2025
1 parent ab7547c commit 1505ae7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/newcharacter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,8 @@ bool avatar::create( character_type type, const std::string &tempname )
}

// Don't apply the default backgrounds on a template
if( type != character_type::TEMPLATE && !get_scenario()->has_flag( flag_SKIP_DEFAULT_BACKGROUND ) ) {
if( type != character_type::TEMPLATE &&
!get_scenario()->has_flag( flag_SKIP_DEFAULT_BACKGROUND ) ) {
add_default_background();
}

Expand Down

0 comments on commit 1505ae7

Please sign in to comment.