diff --git a/gatherling/event.php b/gatherling/event.php index 192bd9534..2f26544b8 100644 --- a/gatherling/event.php +++ b/gatherling/event.php @@ -276,7 +276,9 @@ function content() authFailed(); } else { if (mode_is('Start Event')) { - $event->startEvent(); + $event->startEvent(true); + } elseif (mode_is('Start Event (No Deck Check)')) { + $event->startEvent(false); } elseif (mode_is('Recalculate Standings')) { $structure = $event->mainstruct; $event->recalculateScores($structure); @@ -851,7 +853,9 @@ function playerList($event) echo "name}\" />"; echo ''; if ($event->active == 0 && $event->finalized == 0) { - echo ''; + echo ''; echo '

Paste stuff:
'; echo "{$deckless}

"; } elseif ($event->active == 1) { diff --git a/gatherling/models/Event.php b/gatherling/models/Event.php index 637cf2b52..3386ea8e5 100644 --- a/gatherling/models/Event.php +++ b/gatherling/models/Event.php @@ -1827,9 +1827,9 @@ public function updateDecksFormat($format) } } - public function startEvent() + public function startEvent($precheck) { - $entries = $this->getRegisteredEntries(true); + $entries = $this->getRegisteredEntries($precheck); Standings::startEvent($entries, $this->name); // $this->dropInvalidEntries(); $this->pairCurrentRound();
Round Actions
'; + echo ''; + echo '