From 8773250aab4de1bf4693dad7f6f2bc1eb2ee1ec6 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 21 Sep 2019 02:14:25 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B4=88=EA=B8=B0=20=EB=B3=91=EC=A2=85?= =?UTF-8?q?=EC=9D=B4=20=EB=B3=B4=EB=B3=91=EC=9D=BC=20=EB=95=8C=20=EA=B3=A0?= =?UTF-8?q?=EC=A0=95=EB=90=98=EB=8A=94=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_npc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/func_npc.php b/hwe/func_npc.php index eb0c335c..0584fb2e 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -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{