징병 버그 수정 2

This commit is contained in:
2019-09-21 11:42:10 +09:00
parent d142056098
commit 83c5609fad
+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) && $type == GameUnitConst::DEFAULT_CREWTYPE){
if(!$allowedAction->randomRecruit && in_array($currentCrewType, $types) && $type != GameUnitConst::DEFAULT_CREWTYPE){
$type = $currentCrewType;
}
else{