Skip to content

Commit

Permalink
generate contract modifiers when adding contracts individually
Browse files Browse the repository at this point in the history
  • Loading branch information
Algebro7 committed Sep 26, 2024
1 parent 6e2a350 commit e98a6de
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ public CamOpsContractMarket() {

@Override
public AtBContract addAtBContract(Campaign campaign) {
if (contractMods == null) {
contractMods = generateContractModifiers(campaign);
}
Optional<AtBContract> c = generateContract(campaign);
if (c.isPresent()) {
AtBContract atbContract = c.get();
Expand Down

0 comments on commit e98a6de

Please sign in to comment.