From bf99970cf3bfaa5ce07d50a80e167d3bda749ade Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Wed, 9 Jul 2025 10:25:44 +0200 Subject: [PATCH] set hth game number if available --- app/Console/Commands/SyncHTH.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Console/Commands/SyncHTH.php b/app/Console/Commands/SyncHTH.php index 5c516b8..a101423 100644 --- a/app/Console/Commands/SyncHTH.php +++ b/app/Console/Commands/SyncHTH.php @@ -78,6 +78,7 @@ class SyncHTH extends Command { room phase round + game teams { name members { @@ -120,6 +121,9 @@ class SyncHTH extends Command { } $episode->event()->associate($event); $episode->title = $hthEntry['phase'].' '.$hthEntry['round']; + if ($hthEntry['game']) { + $episode->title .= ' Game '.$hthEntry['game']; + } $start = Carbon::parse($hthEntry['start']); if (!$episode->start || $start->ne($episode->start)) { $episode->start = $start; -- 2.39.5