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; }