합병 항복 안되는 버그 수정

This commit is contained in:
2018-04-17 03:10:38 +09:00
parent af0c470923
commit ec1be2c887
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -187,8 +187,8 @@ class Diplomacy{
$db = \sammo\DB::db();
$states = $db->queryOneField(
'SELECT `state` FROM diplomacy WHERE me = %i AND you != %i AND `state` NOT IN (2, 7) GROUP BY `state` ORDER BY `state`',
$states = $db->queryFirstColumn(
'SELECT `state` FROM diplomacy WHERE `state` NOT IN (2, 7) AND me=%i AND you <>%i',
$this->srcNation['nation'],
$this->destNation['nation']
);