합병 항복 안되는 버그 수정

This commit is contained in:
Hide_D committed 2018-04-17 03:10:38 +09:00
1 parent af0c470923
commit ec1be2c887
2 files changed
+5 -5

No files matched your search

+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']
);