forked from devsam/core
초기 병종이 보병일 때 고정되는 버그 수정
This commit is contained in:
+1
-1
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user