fix for active socket check on ATP script download

This commit is contained in:
Stephen Birarda 2016-04-11 17:59:27 -07:00
parent bf3324fc6b
commit 76af3efe73

View file

@ -195,7 +195,7 @@ void Agent::requestScript() {
// then wait for the nodeConnected signal to fire off the request
auto assetServer = nodeList->soloNodeOfType(NodeType::AssetServer);
if (!assetServer || assetServer->getActiveSocket()) {
if (!assetServer || !assetServer->getActiveSocket()) {
qDebug() << "Waiting to connect to Asset Server for ATP script download.";
_pendingScriptRequest = request;