feat: 세력장수에서 '휴식'의 '자율행동' 여부 판별

This commit is contained in:
2022-04-08 01:48:23 +09:00
parent f04845f7dd
commit aec4d7a3f3
4 changed files with 49 additions and 15 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ class GeneralList extends \sammo\BaseAPI
$db = DB::db();
$gameStor = \sammo\KVStorage::getStorage($db, 'game_env');
$env = $gameStor->getValues(['year', 'month', 'turntime', 'turnterm']);
$env = $gameStor->getValues(['year', 'month', 'turntime', 'turnterm', 'autorun_user', 'killturn']);
$me = $db->queryFirstRow('SELECT con, turntime, belong, nation, officer_level, permission, penalty FROM general WHERE owner=%i', $session->getUserID());
$con = checkLimit($me['con']);