]> git.localhorst.tv Git - alttp.git/commitdiff
sync hth raceroom
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 9 Jul 2025 08:22:44 +0000 (10:22 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 9 Jul 2025 08:22:44 +0000 (10:22 +0200)
app/Console/Commands/SyncHTH.php

index 71cf5fda73eb7a7add90c511d7fdae35edbad1ba..5c516b8fd073b4aa852921678e955fdef4b4c194 100644 (file)
@@ -126,6 +126,9 @@ class SyncHTH extends Command {
                }
                $episode->estimate = 90 * 60 * 60;
                $episode->confirmed = true;
+               if ($hthEntry['room']) {
+                       $episode->raceroom = $hthEntry['room'];
+               }
                $episode->save();
 
                $this->purgePlayers($episode, $hthEntry);