버그 수정
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user