버그 수정

This commit is contained in:
2020-05-04 06:22:34 +09:00
parent 42e1764c44
commit 3aa9d8ae56
@@ -53,9 +53,9 @@ class AllowDiplomacyStatus extends Constraint{
$db = DB::db();
$state = $db->queryFirstField(
'SELECT state FROM diplomacy WHERE me = %i AND `state` IN %li LIMIT 1',
'SELECT state FROM diplomacy WHERE me = %i AND `state` NOT IN %li LIMIT 1',
$this->nationID,
array_keys($this->allowStatus)
$this->allowStatus
);
if($state !== null){
return true;