diff --git a/hwe/sammo/API/General/GetFrontInfo.php b/hwe/sammo/API/General/GetFrontInfo.php index 36508e4b..054a1fcb 100644 --- a/hwe/sammo/API/General/GetFrontInfo.php +++ b/hwe/sammo/API/General/GetFrontInfo.php @@ -378,7 +378,7 @@ class GetFrontInfo extends \sammo\BaseAPI $nationColor = $staticNation['color']; } - $rawOfficerList = $db->query('SELECT officer_level, name, npc FROM general WHERE city = %i AND officer_level IN (4,3,2)', $cityID); + $rawOfficerList = $db->query('SELECT officer_level, name, npc FROM general WHERE officer_city = %i AND officer_level IN (4,3,2)', $cityID); $officerList = [4 => null, 3 => null, 2 => null]; foreach ($rawOfficerList as $officer) { $officerLevel = $officer['officer_level']; diff --git a/hwe/ts/PageFront.vue b/hwe/ts/PageFront.vue index 524cef20..c5cbe190 100644 --- a/hwe/ts/PageFront.vue +++ b/hwe/ts/PageFront.vue @@ -25,7 +25,9 @@