모병코드

This commit is contained in:
2018-07-18 04:49:30 +09:00
parent 69ec2469b4
commit 4ddd46c4a2
+1 -1
View File
@@ -956,7 +956,7 @@ function process_11(&$general, $type) {
$ownCities[$ownCity] = 1;
$ownRegions[CityConst::byId($ownCity)->region] = 1;
}
$valid = $crewTypeObj->isValid($ownCities, $ownRegions, $admin['year'] - $admin['startyear'], $tech);
$valid = $crewTypeObj->isValid($ownCities, $ownRegions, $year - $startyear, $tech);
if(!$valid) {
$actLog->pushGeneralActionLog("현재 $dtype 할 수 없는 병종입니다. $dtype 실패. <1>$date</>");