NetPlayServer: actually set m_upnp_inited
This commit is contained in:
parent
a25f7b9b4c
commit
6a8c0ca70b
|
@ -1008,7 +1008,6 @@ bool NetPlayServer::initUPnP()
|
||||||
WARN_LOG(NETPLAY, "An error occurred trying to discover UPnP devices.");
|
WARN_LOG(NETPLAY, "An error occurred trying to discover UPnP devices.");
|
||||||
|
|
||||||
m_upnp_error = true;
|
m_upnp_error = true;
|
||||||
m_upnp_inited = false;
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -1047,6 +1046,7 @@ bool NetPlayServer::initUPnP()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_upnp_inited = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue