mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 08:43:52 +02:00
fix for active socket check on ATP script download
This commit is contained in:
parent
bf3324fc6b
commit
76af3efe73
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ void Agent::requestScript() {
|
||||||
// then wait for the nodeConnected signal to fire off the request
|
// then wait for the nodeConnected signal to fire off the request
|
||||||
|
|
||||||
auto assetServer = nodeList->soloNodeOfType(NodeType::AssetServer);
|
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.";
|
qDebug() << "Waiting to connect to Asset Server for ATP script download.";
|
||||||
_pendingScriptRequest = request;
|
_pendingScriptRequest = request;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue