From d43f15e096bd9b668213289eb2739b97675c7580 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Tue, 5 Jul 2022 22:39:40 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B9=99=EC=9D=98=EC=9E=A5=EB=8F=84=20?= =?UTF-8?q?=EC=82=AC=EC=A0=84=20=EA=B1=B0=EB=B3=91=EC=9D=B4=20=EA=B0=80?= =?UTF-8?q?=EB=8A=A5=ED=95=B4=EC=95=BC=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/API/General/BuildNationCandidate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/sammo/API/General/BuildNationCandidate.php b/hwe/sammo/API/General/BuildNationCandidate.php index 7f8ff4d2..a70209ea 100644 --- a/hwe/sammo/API/General/BuildNationCandidate.php +++ b/hwe/sammo/API/General/BuildNationCandidate.php @@ -38,7 +38,7 @@ class BuildNationCandidate extends \sammo\BaseAPI $gameStor = KVStorage::getStorage($db, 'game_env'); $gameStor->cacheValues(['opentime', 'turntime']); - $general = $db->queryFirstRow('SELECT no,name,nation,owner_name,npc,lastrefresh FROM general WHERE owner=%i AND npc = 0', $userID); + $general = $db->queryFirstRow('SELECT no,name,nation,owner_name,npc,lastrefresh FROM general WHERE owner=%i', $userID); if (!$general) { return '장수가 없습니다';