Skip to content

Commit

Permalink
Merge pull request #10620 from nanaya/mp-scorelink-view
Browse files Browse the repository at this point in the history
Fix error viewing realtime room on web
  • Loading branch information
notbakaneko authored Oct 6, 2023
2 parents 801f996 + ed74f4c commit f51ea30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Multiplayer/RoomsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function show($id)

$playlistItemsQuery = $room->playlist();
if ($room->isRealtime()) {
$playlistItemsQuery->whereHas('scores');
$playlistItemsQuery->whereHas('scoreLinks');
}
$beatmaps = $playlistItemsQuery->with('beatmap.beatmapset.beatmaps')->get()->pluck('beatmap');
$beatmapsets = $beatmaps->pluck('beatmapset');
Expand Down

0 comments on commit f51ea30

Please sign in to comment.