diff --git a/hwe/sammo/Constraint/BattleGroundCity.php b/hwe/sammo/Constraint/BattleGroundCity.php index f92f2143..a9dc5777 100644 --- a/hwe/sammo/Constraint/BattleGroundCity.php +++ b/hwe/sammo/Constraint/BattleGroundCity.php @@ -40,7 +40,7 @@ class BattleGroundCity extends Constraint{ $db = DB::db(); $diplomacy = $db->queryFirstField('SELECT state FROM diplomacy WHERE me = %i AND you = %i', $nationID, $destNationID); - if($diplomacy === 0){ + if($diplomacy == 0){ return true; }