diff --git a/hwe/sammo/Constraint/AllowDiplomacyStatus.php b/hwe/sammo/Constraint/AllowDiplomacyStatus.php index 485874f9..df94774e 100644 --- a/hwe/sammo/Constraint/AllowDiplomacyStatus.php +++ b/hwe/sammo/Constraint/AllowDiplomacyStatus.php @@ -57,7 +57,7 @@ class AllowDiplomacyStatus extends Constraint{ $this->nationID, $this->allowStatus ); - if($state === null){ + if($state !== null){ return true; } $this->reason = $this->errMsg;