Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
wvpm committed Feb 11, 2025
1 parent 78153e7 commit ec59873
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/openvic-simulation/pop/Pop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,7 @@ void Pop::pop_tick() {
money_to_spend_per_good_draft[good_definition] = cash_available_for_good; \
} \
} \
for (auto [good_definition, money_to_spend] : money_to_spend_per_good_draft) {\
money_to_spend_per_good[good_definition] += money_to_spend; \
} \
money_to_spend_per_good += money_to_spend_per_good_draft; \
}

DO_FOR_ALL_NEED_CATEGORIES(ALLOCATE_FOR_NEEDS)
Expand Down

0 comments on commit ec59873

Please sign in to comment.