버그 수정

This commit is contained in:
2019-04-21 12:11:01 +09:00
parent b4b6f5a1f7
commit cf1f023379
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ WHERE turntime < %s ORDER BY turntime ASC, `no` ASC',
if($general->getVar('nation') != 0 && $general->getVar('level') >= 5){
$nationStor = KVStorage::getStorage($db, 'nation_env');
$lastNationTurnKey = "turn_last_{$general->getVar('nation')}_{$general->getVar('level')}";
$lastNationTurn = $nationStor->getDBValue($lastNationTurnKey)??[];
$lastNationTurn = $nationStor->getValue($lastNationTurnKey)??[];
//수뇌 몇 없는데 매번 left join 하는건 낭비인것 같다.
$rawNationTurn = Json::decode($db->queryFirstRow(
'SELECT action, arg FROM nation_turn WHERE nation_id = %i AND level = %i AND turn_idx =0',