From fb0f768f2c16bb42949ec98931ec3bc1c0f1b5bf Mon Sep 17 00:00:00 2001 From: hided62 Date: Sun, 26 Jul 2026 12:54:05 +0000 Subject: [PATCH] compare: expose world killturn in turn snapshots --- hwe/compare/turn_state_snapshot.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hwe/compare/turn_state_snapshot.php b/hwe/compare/turn_state_snapshot.php index 1c9eee28..c5aabba6 100644 --- a/hwe/compare/turn_state_snapshot.php +++ b/hwe/compare/turn_state_snapshot.php @@ -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, ],