X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FHttp%2FControllers%2FRoundController.php;fp=app%2FHttp%2FControllers%2FRoundController.php;h=596628d072da19ceae60e2c5190d8c2e6c23404d;hb=9160186db0ea1b0da0edfec49cb3d99ead213bc4;hp=d616b861b3d0edb8c22d99679ae4f56614d1a079;hpb=1e66c7e499436c85204e89ea5167178b5b6e74d3;p=alttp.git diff --git a/app/Http/Controllers/RoundController.php b/app/Http/Controllers/RoundController.php index d616b86..596628d 100644 --- a/app/Http/Controllers/RoundController.php +++ b/app/Http/Controllers/RoundController.php @@ -22,6 +22,7 @@ class RoundController extends Controller $tournament->loadMax('rounds', 'number'); $round = Round::create([ + 'game' => $tournament->game, 'number' => intval($tournament->rounds_max_number) + 1, 'no_record' => $tournament->no_record, 'tournament_id' => $validatedData['tournament_id'],