Skip to content

Commit

Permalink
fix soldier dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Lurkars committed Aug 19, 2024
1 parent 7654fae commit 2573e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/ui/figures/party/party-sheet-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ export class PartySheetDialogComponent implements OnInit, OnDestroy {
gameManager.stateManager.before("setPartySoldiers", "" + value);
this.party.soldiers = value;
gameManager.stateManager.after();
} else if (this.soldierAvailable()) {
} else if (this.soldierAvailable() && value == this.party.soldiers + 1) {
this.dialog.open(BuildingUpgradeDialog, {
panelClass: ['dialog'],
data: {
Expand Down

0 comments on commit 2573e56

Please sign in to comment.