compare: expose world killturn in turn snapshots

This commit is contained in:
2026-07-26 12:54:05 +00:00
parent 5fc230d89b
commit fb0f768f2c
+2
View File
@@ -228,6 +228,7 @@ function comparisonTurnStateSnapshot(array $request): array
'init_year',
'init_month',
'develcost',
'killturn',
]);
$nextExecuteStorage = KVStorage::getStorage($db, 'next_execute');
$nextExecuteStorage->resetCache();
@@ -547,6 +548,7 @@ function comparisonTurnStateSnapshot(array $request): array
'initYear' => (int)$worldValues['init_year'],
'initMonth' => (int)$worldValues['init_month'],
'develCost' => (int)$worldValues['develcost'],
'killTurn' => (int)$worldValues['killturn'],
'generalCooldowns' => $generalCooldowns,
'nationCooldowns' => $nationCooldowns,
],