Only need to show the UPnP stuff for Hosts.
parent
4de83bcb7d
commit
43bf1a8b30
|
@ -3898,22 +3898,25 @@ bool startMultiOptions(bool bReenter)
|
|||
addGameOptions();
|
||||
addChatBox();
|
||||
|
||||
char buf[512]={'\0'};
|
||||
if (NetPlay.bComms)
|
||||
if (NetPlay.isHost)
|
||||
{
|
||||
if (NetPlay.isUPNP)
|
||||
char buf[512]={'\0'};
|
||||
if (NetPlay.bComms)
|
||||
{
|
||||
ssprintf(buf, _("UPnP detection is in progress..."));
|
||||
addConsoleMessage(buf, DEFAULT_JUSTIFY, NOTIFY_MESSAGE);
|
||||
}
|
||||
else
|
||||
{
|
||||
ssprintf(buf, _("UPnP detection disabled by user. Autoconfig of port 2100 will not happen."));
|
||||
addConsoleMessage(buf, DEFAULT_JUSTIFY, NOTIFY_MESSAGE);
|
||||
if (NetPlay.isUPNP)
|
||||
{
|
||||
ssprintf(buf, _("UPnP detection is in progress..."));
|
||||
addConsoleMessage(buf, DEFAULT_JUSTIFY, NOTIFY_MESSAGE);
|
||||
}
|
||||
else
|
||||
{
|
||||
ssprintf(buf, _("UPnP detection disabled by user. Autoconfig of port 2100 will not happen."));
|
||||
addConsoleMessage(buf, DEFAULT_JUSTIFY, NOTIFY_MESSAGE);
|
||||
}
|
||||
}
|
||||
ssprintf(buf, _("Press the start hosting button to begin hosting a game."));
|
||||
addConsoleMessage(buf, DEFAULT_JUSTIFY, NOTIFY_MESSAGE);
|
||||
}
|
||||
ssprintf(buf, _("Press the start hosting button to begin hosting a game."));
|
||||
addConsoleMessage(buf, DEFAULT_JUSTIFY, NOTIFY_MESSAGE);
|
||||
|
||||
// going back to multiop after setting limits up..
|
||||
if(bReenter && bHosted)
|
||||
|
|
Loading…
Reference in New Issue