mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
netplay: don't advertise over LAN or try to open a port with UPnP if we're using a MITM server
This commit is contained in:
parent
ced1dc10c1
commit
bb362f307d
@ -790,7 +790,7 @@ bool netplay_pre_frame(netplay_t *netplay)
|
|||||||
netplay_try_init_serialization(netplay);
|
netplay_try_init_serialization(netplay);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (netplay->is_server)
|
if (netplay->is_server && !settings->netplay.use_mitm_server)
|
||||||
{
|
{
|
||||||
/* Advertise our server */
|
/* Advertise our server */
|
||||||
netplay_lan_ad_server(netplay);
|
netplay_lan_ad_server(netplay);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user