From f8434d7fe22b01503ca04545f965a5bc0541a2be Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 22 Apr 2020 23:26:28 +0900 Subject: [PATCH] =?UTF-8?q?=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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index c354c8ce..139aef37 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -1543,6 +1543,10 @@ class GeneralAI return null; } + if(!$this->nation['capital']){ + return null; + } + $targetNationID = $this->findWarTarget();