X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FUser.php;h=eea1426d8fcc7c592aca5592b5a2ef70f7765253;hb=ce0c2752445b1d0960e331a335f56001f3c521c6;hp=89493e70171cdec6eefeea22e70f4bc1c9f342dd;hpb=df75af8d30ceb44724280829b948dd01e86de07b;p=alttp.git diff --git a/app/Models/User.php b/app/Models/User.php index 89493e7..eea1426 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -61,6 +61,7 @@ class User extends Authenticatable return $this->rounds() ->where('locked', true) ->where('no_record', false) + ->wherePivot('forfeit', false) ->wherePivot('placement', 1); } @@ -68,6 +69,7 @@ class User extends Authenticatable return $this->rounds() ->where('locked', true) ->where('no_record', false) + ->wherePivot('forfeit', false) ->wherePivot('placement', 2); } @@ -75,6 +77,7 @@ class User extends Authenticatable return $this->rounds() ->where('locked', true) ->where('no_record', false) + ->wherePivot('forfeit', false) ->wherePivot('placement', 3); }