game table을 KVStorage로 일부 대체
This commit is contained in:
@@ -283,10 +283,7 @@ class DiplomaticMessage extends Message{
|
||||
return $result;
|
||||
}
|
||||
|
||||
list(
|
||||
$year,
|
||||
$month
|
||||
) = $db->queryFirstList('SELECT year, month FROM game LIMIT 1');
|
||||
list($year, $month) = $gameStor->getValuesAsArray(['year', 'month']);
|
||||
|
||||
|
||||
$this->dest->generalID = $receiverID;
|
||||
|
||||
@@ -40,7 +40,7 @@ class Personnel{
|
||||
$this->year,
|
||||
$this->month,
|
||||
$this->killturn
|
||||
) = $db->queryFirstList('SELECT startyear, year, month, killturn FROM game LIMIT 1');
|
||||
) = $gameStor->getValuesAsArray(['startyear', 'year', 'month', 'killturn']);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user