diff --git a/packages/logic/src/actions/turn/general/che_징병.ts b/packages/logic/src/actions/turn/general/che_징병.ts index 1cc51df..ed68d61 100644 --- a/packages/logic/src/actions/turn/general/che_징병.ts +++ b/packages/logic/src/actions/turn/general/che_징병.ts @@ -479,7 +479,7 @@ export class ActionDefinition< crewType ?? undefined ).rice; }; - const checkCrewTypeAvailable = (): Constraint => ({ + const availableRecruitCrewType = (): Constraint => ({ name: 'AvailableRecruitCrewType', requires: () => requirements, test: (context, view) => { @@ -513,7 +513,7 @@ export class ActionDefinition< ]; if (ctx.mode === 'full') { - constraints.push(checkCrewTypeAvailable()); + constraints.push(availableRecruitCrewType()); } return constraints;