Skip to content

Commit

Permalink
Merge pull request #11710 from nanaya/room-beatmapset-preload
Browse files Browse the repository at this point in the history
Fix beatmapset preload on room
  • Loading branch information
notbakaneko authored Dec 4, 2024
2 parents ceb8d7f + c932232 commit 6508849
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/Http/Controllers/Multiplayer/RoomsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,11 @@ public function store()
private function createJoinedRoomResponse($room)
{
return json_item(
$room
->load('host.country')
->load('playlist.beatmap.beatmapset')
->load('playlist.beatmap.baseMaxCombo'),
$room->loadMissing([
'host',
'playlist.beatmap.beatmapset',
'playlist.beatmap.baseMaxCombo',
]),
'Multiplayer\Room',
[
'current_user_score.playlist_item_attempts',
Expand Down

0 comments on commit 6508849

Please sign in to comment.