From f30e6057be19953bad6884bc4782d3c87474f485 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 21 Jul 2020 22:34:10 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Constraint/BattleGroundCity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }