diff options
author | FearlessTobi <thm.frey@gmail.com> | 2022-07-15 21:11:09 +0200 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2022-07-25 21:59:30 +0200 |
commit | 4b404191cf054ec3206676f1fccc452bc0a0e223 (patch) | |
tree | 8a1582246c41260fe82804bf4dcb9abf77176e27 /src/core | |
parent | Address first part of review comments (diff) | |
download | yuzu-4b404191cf054ec3206676f1fccc452bc0a0e223.tar yuzu-4b404191cf054ec3206676f1fccc452bc0a0e223.tar.gz yuzu-4b404191cf054ec3206676f1fccc452bc0a0e223.tar.bz2 yuzu-4b404191cf054ec3206676f1fccc452bc0a0e223.tar.lz yuzu-4b404191cf054ec3206676f1fccc452bc0a0e223.tar.xz yuzu-4b404191cf054ec3206676f1fccc452bc0a0e223.tar.zst yuzu-4b404191cf054ec3206676f1fccc452bc0a0e223.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/announce_multiplayer_session.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/announce_multiplayer_session.cpp b/src/core/announce_multiplayer_session.cpp index aeca87aac..f8aa9bb0b 100644 --- a/src/core/announce_multiplayer_session.cpp +++ b/src/core/announce_multiplayer_session.cpp @@ -88,15 +88,14 @@ AnnounceMultiplayerSession::~AnnounceMultiplayerSession() { void AnnounceMultiplayerSession::UpdateBackendData(std::shared_ptr<Network::Room> room) { Network::RoomInformation room_information = room->GetRoomInformation(); - std::vector<Network::Room::Member> memberlist = room->GetRoomMemberList(); + std::vector<AnnounceMultiplayerRoom::Member> memberlist = room->GetRoomMemberList(); backend->SetRoomInformation( room_information.name, room_information.description, room_information.port, room_information.member_slots, Network::network_version, room->HasPassword(), room_information.preferred_game, room_information.preferred_game_id); backend->ClearPlayers(); for (const auto& member : memberlist) { - backend->AddPlayer(member.username, member.nickname, member.avatar_url, member.mac_address, - member.game_info.id, member.game_info.name); + backend->AddPlayer(member); } } |