summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2022-07-07 04:12:12 +0200
committerFearlessTobi <thm.frey@gmail.com>2022-07-25 21:59:30 +0200
commit7c3d241f0d03304df2c4d4449c2c8f1f9c7a16d3 (patch)
tree234478980fbc897d721f1488a89d3cb9b0edd119 /src/core
parentyuzu: Hide multiplayer button and room status (diff)
downloadyuzu-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 '')
-rw-r--r--src/core/announce_multiplayer_session.cpp6
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() {