]> git.localhorst.tv Git - alttp.git/commitdiff
fix row count in xdhunt sync
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 1 May 2026 15:33:58 +0000 (17:33 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 1 May 2026 15:33:58 +0000 (17:33 +0200)
app/Console/Commands/SyncXDHunt.php

index 916e9720b4670955017c7b3e66e4f1283781c4ff..0a26a4207657d3829e7bb8a6b68db1ccb2be1b7d 100644 (file)
@@ -72,7 +72,7 @@ class SyncXDHunt extends Command {
        }
 
        private function syncEvent(Event $event, $schedule): void {
-               for ($i = 3; $i < count($schedule); ++$i) {
+               for ($i = 2; $i < count($schedule); ++$i) {
                        $this->syncSchedule($event, $schedule[$i]);
                }
        }