Notify pruned reserve drill overrides

This commit is contained in:
2026-07-09 14:04:58 +09:00
parent abc349bb1c
commit 90c1297700

View File

@@ -13767,7 +13767,12 @@ export class CampScene extends Phaser.Scene {
}
private setReserveTrainingFocus(focusId: CampaignReserveTrainingFocusId) {
const redundantAssignmentCount = Object.values(this.campaign?.reserveTrainingAssignments ?? {}).filter(
(assignedFocusId) => assignedFocusId === focusId
).length;
this.campaign = setCampaignReserveTrainingFocus(focusId);
const focusLabel = campaignReserveTrainingFocusDefinitions.find((focus) => focus.id === focusId)?.label ?? this.reserveTrainingFocusDefinition().label;
this.showCampNotice(`대기 훈련 ${focusLabel}${redundantAssignmentCount > 0 ? ` · 중복 개별 ${redundantAssignmentCount}명 정리` : ''}`);
soundDirector.playSelect();
this.showSortiePrep();
}