compare: expose world killturn in turn snapshots
This commit is contained in:
@@ -228,6 +228,7 @@ function comparisonTurnStateSnapshot(array $request): array
|
|||||||
'init_year',
|
'init_year',
|
||||||
'init_month',
|
'init_month',
|
||||||
'develcost',
|
'develcost',
|
||||||
|
'killturn',
|
||||||
]);
|
]);
|
||||||
$nextExecuteStorage = KVStorage::getStorage($db, 'next_execute');
|
$nextExecuteStorage = KVStorage::getStorage($db, 'next_execute');
|
||||||
$nextExecuteStorage->resetCache();
|
$nextExecuteStorage->resetCache();
|
||||||
@@ -547,6 +548,7 @@ function comparisonTurnStateSnapshot(array $request): array
|
|||||||
'initYear' => (int)$worldValues['init_year'],
|
'initYear' => (int)$worldValues['init_year'],
|
||||||
'initMonth' => (int)$worldValues['init_month'],
|
'initMonth' => (int)$worldValues['init_month'],
|
||||||
'develCost' => (int)$worldValues['develcost'],
|
'develCost' => (int)$worldValues['develcost'],
|
||||||
|
'killTurn' => (int)$worldValues['killturn'],
|
||||||
'generalCooldowns' => $generalCooldowns,
|
'generalCooldowns' => $generalCooldowns,
|
||||||
'nationCooldowns' => $nationCooldowns,
|
'nationCooldowns' => $nationCooldowns,
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user