feat: 'AvailableRecruitCrewType' 제약 조건 이름 변경

This commit is contained in:
2026-02-07 05:04:37 +00:00
parent a30bc93d10
commit 13d22ece4a
@@ -479,7 +479,7 @@ export class ActionDefinition<
crewType ?? undefined crewType ?? undefined
).rice; ).rice;
}; };
const checkCrewTypeAvailable = (): Constraint => ({ const availableRecruitCrewType = (): Constraint => ({
name: 'AvailableRecruitCrewType', name: 'AvailableRecruitCrewType',
requires: () => requirements, requires: () => requirements,
test: (context, view) => { test: (context, view) => {
@@ -513,7 +513,7 @@ export class ActionDefinition<
]; ];
if (ctx.mode === 'full') { if (ctx.mode === 'full') {
constraints.push(checkCrewTypeAvailable()); constraints.push(availableRecruitCrewType());
} }
return constraints; return constraints;