천도 추가
This commit is contained in:
@@ -31,9 +31,7 @@ class HasRoute extends Constraint{
|
||||
|
||||
$db = DB::db();
|
||||
|
||||
$allowedNationList = $db->queryFirstColumn('SELECT you FROM diplomacy WHERE state = 0 AND me = %i', $this->general['nation']);
|
||||
$allowedNationList[] = $this->general['nation'];
|
||||
$allowedNationList[] = 0;
|
||||
$allowedNationList = [$this->general['nation']];
|
||||
|
||||
$distanceList = \sammo\searchDistanceListToDest($this->general['city'], $this->destCity['city'], $allowedNationList);
|
||||
if(!$distanceList){
|
||||
|
||||
Reference in New Issue
Block a user