From 410f6b261ef414c568493bc2eae3ff34033e2792 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 26 Dec 2021 04:19:26 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20processing=20=20$destNation=20=EA=B5=AC?= =?UTF-8?q?=EB=B6=84=20=EB=B2=84=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/General/che_임관.php | 2 +- hwe/sammo/Command/Nation/che_급습.php | 2 +- hwe/sammo/Command/Nation/che_불가침제의.php | 2 +- hwe/sammo/Command/Nation/che_불가침파기제의.php | 2 +- hwe/sammo/Command/Nation/che_선전포고.php | 2 +- hwe/sammo/Command/Nation/che_이호경식.php | 2 +- hwe/sammo/Command/Nation/che_종전제의.php | 2 +- hwe/sammo/Command/Nation/che_피장파장.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hwe/sammo/Command/General/che_임관.php b/hwe/sammo/Command/General/che_임관.php index c94cd1e7..dc54b8ac 100644 --- a/hwe/sammo/Command/General/che_임관.php +++ b/hwe/sammo/Command/General/che_임관.php @@ -216,7 +216,7 @@ class che_임관 extends Command\GeneralCommand if (!$testCommand->hasFullConditionMet()) { $nationTarget['notAvailable'] = true; } - if ($destNation['id'] == $nationID) { + if ($destNation['nation'] == $nationID) { $nationTarget['notAvailable'] = true; } diff --git a/hwe/sammo/Command/Nation/che_급습.php b/hwe/sammo/Command/Nation/che_급습.php index 39f7d03e..a68a69e1 100644 --- a/hwe/sammo/Command/Nation/che_급습.php +++ b/hwe/sammo/Command/Nation/che_급습.php @@ -214,7 +214,7 @@ class che_급습 extends Command\NationCommand if (!$testCommand->hasFullConditionMet()) { $nationTarget['notAvailable'] = true; } - if ($destNation['id'] == $nationID) { + if ($destNation['nation'] == $nationID) { $nationTarget['notAvailable'] = true; } diff --git a/hwe/sammo/Command/Nation/che_불가침제의.php b/hwe/sammo/Command/Nation/che_불가침제의.php index 172df179..859dfbb3 100644 --- a/hwe/sammo/Command/Nation/che_불가침제의.php +++ b/hwe/sammo/Command/Nation/che_불가침제의.php @@ -248,7 +248,7 @@ class che_불가침제의 extends Command\NationCommand if (!$testCommand->hasFullConditionMet()) { $nationTarget['notAvailable'] = true; } - if ($destNation['id'] == $nationID) { + if ($destNation['nation'] == $nationID) { $nationTarget['notAvailable'] = true; } diff --git a/hwe/sammo/Command/Nation/che_불가침파기제의.php b/hwe/sammo/Command/Nation/che_불가침파기제의.php index 74e1245b..d388935e 100644 --- a/hwe/sammo/Command/Nation/che_불가침파기제의.php +++ b/hwe/sammo/Command/Nation/che_불가침파기제의.php @@ -193,7 +193,7 @@ class che_불가침파기제의 extends Command\NationCommand{ if($diplomacyStatus[$destNation['nation']]['state'] != 7){ $nationTarget['notAvailable'] = true; } - if ($destNation['id'] == $nationID) { + if ($destNation['nation'] == $nationID) { $nationTarget['notAvailable'] = true; } diff --git a/hwe/sammo/Command/Nation/che_선전포고.php b/hwe/sammo/Command/Nation/che_선전포고.php index 48c4d6f5..bd976864 100644 --- a/hwe/sammo/Command/Nation/che_선전포고.php +++ b/hwe/sammo/Command/Nation/che_선전포고.php @@ -212,7 +212,7 @@ class che_선전포고 extends Command\NationCommand if (!$testCommand->hasFullConditionMet()) { $nationTarget['notAvailable'] = true; } - if ($destNation['id'] == $nationID) { + if ($destNation['nation'] == $nationID) { $nationTarget['notAvailable'] = true; } diff --git a/hwe/sammo/Command/Nation/che_이호경식.php b/hwe/sammo/Command/Nation/che_이호경식.php index 5d8cc06f..f856d6e6 100644 --- a/hwe/sammo/Command/Nation/che_이호경식.php +++ b/hwe/sammo/Command/Nation/che_이호경식.php @@ -217,7 +217,7 @@ class che_이호경식 extends Command\NationCommand if (!$testCommand->hasFullConditionMet()) { $nationTarget['notAvailable'] = true; } - if ($destNation['id'] == $nationID) { + if ($destNation['nation'] == $nationID) { $nationTarget['notAvailable'] = true; } diff --git a/hwe/sammo/Command/Nation/che_종전제의.php b/hwe/sammo/Command/Nation/che_종전제의.php index 7c6d8ea2..382e397c 100644 --- a/hwe/sammo/Command/Nation/che_종전제의.php +++ b/hwe/sammo/Command/Nation/che_종전제의.php @@ -186,7 +186,7 @@ class che_종전제의 extends Command\NationCommand{ if (!$testCommand->hasFullConditionMet()) { $nationTarget['notAvailable'] = true; } - if ($destNation['id'] == $nationID) { + if ($destNation['nation'] == $nationID) { $nationTarget['notAvailable'] = true; } diff --git a/hwe/sammo/Command/Nation/che_피장파장.php b/hwe/sammo/Command/Nation/che_피장파장.php index 0d45620d..9776ca28 100644 --- a/hwe/sammo/Command/Nation/che_피장파장.php +++ b/hwe/sammo/Command/Nation/che_피장파장.php @@ -255,7 +255,7 @@ class che_피장파장 extends Command\NationCommand if (!$testCommand->hasFullConditionMet()) { $nationTarget['notAvailable'] = true; } - if ($destNation['id'] == $nationID) { + if ($destNation['nation'] == $nationID) { $nationTarget['notAvailable'] = true; }