NetPlayServer: actually set m_upnp_inited

This commit is contained in:
Michael M 2017-08-07 10:13:25 -07:00
parent a25f7b9b4c
commit 6a8c0ca70b
1 changed files with 1 additions and 1 deletions

View File

@ -1008,7 +1008,6 @@ bool NetPlayServer::initUPnP()
WARN_LOG(NETPLAY, "An error occurred trying to discover UPnP devices.");
m_upnp_error = true;
m_upnp_inited = false;
return false;
}
@ -1047,6 +1046,7 @@ bool NetPlayServer::initUPnP()
}
}
m_upnp_inited = true;
return true;
}