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);
|
||||
}
|
||||
|
||||
if (netplay->is_server)
|
||||
if (netplay->is_server && !settings->netplay.use_mitm_server)
|
||||
{
|
||||
/* Advertise our server */
|
||||
netplay_lan_ad_server(netplay);
|
||||
|
|
Loading…
Reference in New Issue