feat: 빙의일람에 장수 선택 내역

fix: 장수 선택 내역에서 owner_name 미반영 버그 수정
fix: 온라인 장수에서 npc가 뜨는 버그 수정
This commit is contained in:
2021-01-03 18:31:18 +09:00
parent f33e645113
commit 65b76643ee
4 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -1224,7 +1224,7 @@ function updateOnline()
//동접수
$before5Min = TimeUtil::nowAddMinutes(-5);
$onlineUser = $db->query('SELECT no,name,nation FROM general WHERE lastrefresh > %s', $before5Min);
$onlineUser = $db->query('SELECT no,name,nation FROM general WHERE lastrefresh > %s AND npc < 2', $before5Min);
$onlineNum = count($onlineUser);
$onlineNationUsers = Util::arrayGroupBy($onlineUser, 'nation');