diff --git a/hwe/sammo/Constraint/AvailableRecruitCrewType.php b/hwe/sammo/Constraint/AvailableRecruitCrewType.php index b083a39a..d4dcf4e4 100644 --- a/hwe/sammo/Constraint/AvailableRecruitCrewType.php +++ b/hwe/sammo/Constraint/AvailableRecruitCrewType.php @@ -53,11 +53,11 @@ class AvailableRecruitCrewType extends Constraint{ } $crewType = GameUnitConst::byID($this->arg); - if($crewType->isValid($ownCities, $ownRegions, $year = $startyear, $tech)){ + if($crewType->isValid($ownCities, $ownRegions, $year - $startyear, $tech)){ return true; } $this->reason = "현재 선택할 수 없는 병종입니다."; return false; } -} \ No newline at end of file +}