diff options
author | FearlessTobi <thm.frey@gmail.com> | 2022-07-07 04:12:12 +0200 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2022-07-25 21:59:30 +0200 |
commit | 7c3d241f0d03304df2c4d4449c2c8f1f9c7a16d3 (patch) | |
tree | 234478980fbc897d721f1488a89d3cb9b0edd119 /src/core | |
parent | yuzu: Hide multiplayer button and room status (diff) | |
download | yuzu-7c3d241f0d03304df2c4d4449c2c8f1f9c7a16d3.tar yuzu-7c3d241f0d03304df2c4d4449c2c8f1f9c7a16d3.tar.gz yuzu-7c3d241f0d03304df2c4d4449c2c8f1f9c7a16d3.tar.bz2 yuzu-7c3d241f0d03304df2c4d4449c2c8f1f9c7a16d3.tar.lz yuzu-7c3d241f0d03304df2c4d4449c2c8f1f9c7a16d3.tar.xz yuzu-7c3d241f0d03304df2c4d4449c2c8f1f9c7a16d3.tar.zst yuzu-7c3d241f0d03304df2c4d4449c2c8f1f9c7a16d3.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/announce_multiplayer_session.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/announce_multiplayer_session.cpp b/src/core/announce_multiplayer_session.cpp index a680ad202..aeca87aac 100644 --- a/src/core/announce_multiplayer_session.cpp +++ b/src/core/announce_multiplayer_session.cpp @@ -34,10 +34,10 @@ WebService::WebResult AnnounceMultiplayerSession::Register() { std::shared_ptr<Network::Room> room = Network::GetRoom().lock(); if (!room) { return WebService::WebResult{WebService::WebResult::Code::LibError, - "Network is not initialized"}; + "Network is not initialized", ""}; } if (room->GetState() != Network::Room::State::Open) { - return WebService::WebResult{WebService::WebResult::Code::LibError, "Room is not open"}; + return WebService::WebResult{WebService::WebResult::Code::LibError, "Room is not open", ""}; } UpdateBackendData(room); WebService::WebResult result = backend->Register(); @@ -47,7 +47,7 @@ WebService::WebResult AnnounceMultiplayerSession::Register() { LOG_INFO(WebService, "Room has been registered"); room->SetVerifyUID(result.returned_data); registered = true; - return WebService::WebResult{WebService::WebResult::Code::Success}; + return WebService::WebResult{WebService::WebResult::Code::Success, "", ""}; } void AnnounceMultiplayerSession::Start() { |