early-access version 1795
This commit is contained in:
8
externals/discord-rpc/src/rpc_connection.cpp
vendored
8
externals/discord-rpc/src/rpc_connection.cpp
vendored
@@ -26,12 +26,8 @@ void RpcConnection::Open()
|
||||
return;
|
||||
}
|
||||
|
||||
if (state == State::Disconnected) {
|
||||
if (connection->Open()) {
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
if (state == State::Disconnected && !connection->Open()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (state == State::SentHandshake) {
|
||||
|
||||
Reference in New Issue
Block a user