From 20bd059e962e9aae3983a27bfee8acdffca6565e Mon Sep 17 00:00:00 2001 From: hided62 Date: Mon, 24 Aug 2026 09:07:37 +0000 Subject: [PATCH] =?UTF-8?q?test(compare):=20=EC=9B=94=20=EC=9D=B4=EB=B2=A4?= =?UTF-8?q?=ED=8A=B8=20=EC=9E=A5=EC=88=98=20turntime=20=EC=9E=85=EB=A0=A5?= =?UTF-8?q?=EC=9D=84=20=EB=85=BC=EB=A6=AC=20tick=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EB=A7=9E=EC=B6=98=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/compare/monthly_event_trace.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hwe/compare/monthly_event_trace.php b/hwe/compare/monthly_event_trace.php index 9a11cf59..9f294b9c 100644 --- a/hwe/compare/monthly_event_trace.php +++ b/hwe/compare/monthly_event_trace.php @@ -72,6 +72,9 @@ function comparisonMonthlyPatch(string $table, int $id, array $values): void if (!is_string($key) || !in_array($key, $definition['allowed'], true)) { throw new \InvalidArgumentException("unsupported {$table} setup field"); } + if ($table === 'general' && $key === 'turntime' && is_string($value)) { + $value = comparisonGameTick($value, "setup.general.{$id}.turntime"); + } if (in_array($key, ['conflict', 'aux'], true) && is_array($value)) { $value = json_encode($value, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE); }