천도 추가

This commit is contained in:
Hide_D committed 2020-04-14 01:49:40 +09:00
1 parent bd88cbfe64
commit b1c458bdc4
11 files changed
+548 -9

No files matched your search

+1 -3
View File
@@ -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){