From 7cd40fca031f070ce7ef7d4694e5ac47e7adc824 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 21 Aug 2021 16:04:03 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=AA=A8=EB=B3=91/=EC=A7=95=EB=B3=91?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EC=A1=B0=EA=B1=B4=20=EA=B2=80=EC=82=AC?= =?UTF-8?q?=EB=B6=80=20=ED=86=B5=EC=86=94=20=EA=B3=84=EC=82=B0=EA=B0=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Constraint/ReqGeneralCrewMargin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hwe/sammo/Constraint/ReqGeneralCrewMargin.php b/hwe/sammo/Constraint/ReqGeneralCrewMargin.php index 1381ffa6..d1d141e2 100644 --- a/hwe/sammo/Constraint/ReqGeneralCrewMargin.php +++ b/hwe/sammo/Constraint/ReqGeneralCrewMargin.php @@ -38,7 +38,8 @@ class ReqGeneralCrewMargin extends Constraint{ $reqCrewType = GameUnitConst::byID($this->arg); //XXX: 왜 General -> obj -> General 변환을 하고 있나? - $generalObj = new General($this->general, null, null, null, null, null, false); + //FIXME: RankVar, city에 따라 통솔이 바뀐다면 이 부분에 문제가 발생. + $generalObj = new General($this->general, null, null, null, null, null, true); if($reqCrewType->id != $generalObj->getCrewTypeObj()->id){ return true;