From c1e12c2737097330dddf203a30114722124a86ac Mon Sep 17 00:00:00 2001 From: hided62 Date: Fri, 24 Jan 2025 15:19:23 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/GeneralAI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index eb3618b1..bf17125c 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -2587,7 +2587,7 @@ class GeneralAI if ($currCrewType->isValid($general, $cities, $regions, $relYear, $tech, $this->nation['aux'])) { $reqTechObj = $currCrewType->reqConstraints['ReqTech'] ?? null; if($reqTechObj){ - $reqTech = $reqTechObj->getValue($tech); + $reqTech = $reqTechObj->reqTech; if ($reqTech >= 2000) { $type = $currCrewType->id; } else if ($currCrewType->armType != $armType && $reqTech >= 1000) {