Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12044 from jmlee337/upnpport
Do not try portmapping when using traversal server
  • Loading branch information
AdmiralCurtiss committed Aug 18, 2023
2 parents b3faca5 + 550b978 commit 8a96ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/NetPlayServer.cpp
Expand Up @@ -169,7 +169,7 @@ NetPlayServer::NetPlayServer(const u16 port, const bool forward_port, NetPlayUI*
m_chunked_data_thread = std::thread(&NetPlayServer::ChunkedDataThreadFunc, this);

#ifdef USE_UPNP
if (forward_port)
if (forward_port && !traversal_config.use_traversal)
Common::UPnP::TryPortmapping(port);
#endif
}
Expand Down

0 comments on commit 8a96ce7

Please sign in to comment.