Don't add UPnP redirects in single player skirmish.
Closes #1174. git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8647 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
cd3ce412a3
commit
d808f72d8e
|
@ -3243,7 +3243,10 @@ BOOL NEThostGame(const char* SessionName, const char* PlayerName,
|
||||||
mapDownloadProgress = 100;
|
mapDownloadProgress = 100;
|
||||||
netPlayersUpdated = true;
|
netPlayersUpdated = true;
|
||||||
|
|
||||||
NETaddRedirects();
|
if (NetPlay.bComms)
|
||||||
|
{
|
||||||
|
NETaddRedirects();
|
||||||
|
}
|
||||||
NET_InitPlayers();
|
NET_InitPlayers();
|
||||||
NetPlay.maxPlayers = MAX_PLAYERS;
|
NetPlay.maxPlayers = MAX_PLAYERS;
|
||||||
if(!NetPlay.bComms)
|
if(!NetPlay.bComms)
|
||||||
|
|
Loading…
Reference in New Issue