초기 병종이 보병일 때 고정되는 버그 수정

This commit is contained in:
2019-09-21 02:14:25 +09:00
parent c5a4602fe1
commit 8773250aab
+1 -1
View File
@@ -226,7 +226,7 @@ function SetCrew($no, $nationID, $personal, $gold, $leader, $genType, $tech, $de
}
if($types){
if(!$allowedAction->randomRecruit && in_array($currentCrewType, $types)){
if(!$allowedAction->randomRecruit && in_array($currentCrewType, $types) && $type == GameUnitConst::DEFAULT_CREWTYPE){
$type = $currentCrewType;
}
else{