Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nivaturimika committed Feb 25, 2024
1 parent c0905f4 commit 49bc1b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/parsing/nations_parsing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ void make_party(token_generator& gen, error_handler& err, country_file_context&
context.outer_context.state.world.national_identity_get_political_party_count(context.id) += uint8_t(1);
}

party_context new_context{context.outer_context, party_id};
party_context new_context{ context.outer_context, party_id, dcon::trigger_key{} };
parse_party(gen, err, new_context);
}

Expand Down
2 changes: 1 addition & 1 deletion src/parsing/parsers_declarations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ void party::end_date(association_type, sys::year_month_day ymd, error_handler& e
}

void party::finish(party_context& context) {
context.outer_context.state.world.political_party_set_trigger(context.id, context.trigger);
context.outer_context.state.world.political_party_set_trigger(context.id, trigger);
}

void party::any_value(std::string_view issue, association_type, std::string_view option, error_handler& err, int32_t line,
Expand Down

0 comments on commit 49bc1b0

Please sign in to comment.