Notify pruned reserve drill overrides
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user