From 088643df6cd9b9201ea6f24fd8f47d56aa330e01 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 30 May 2020 04:41:47 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9B=8C=ED=94=84=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=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 af7da571..628f2a03 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -2754,7 +2754,7 @@ class GeneralAI continue; } - $candidateCities[$city['city']] = 1 / ($realDevelRate * \sqrt(count($city['generals']??[]) + 1)); + $candidateCities[$candidate['city']] = 1 / ($realDevelRate * \sqrt(count($candidate['generals']??[]) + 1)); } if(!$candidateCities){