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;
|
||||
netPlayersUpdated = true;
|
||||
|
||||
NETaddRedirects();
|
||||
if (NetPlay.bComms)
|
||||
{
|
||||
NETaddRedirects();
|
||||
}
|
||||
NET_InitPlayers();
|
||||
NetPlay.maxPlayers = MAX_PLAYERS;
|
||||
if(!NetPlay.bComms)
|
||||
|
|
Loading…
Reference in New Issue