History

Fix property assignment in GetScriptStatusRequest

Ryan Huffman committed 9 years ago

Commit ff65d0c1 parent 9e17f631 file · +4 −4Browse files

Showing the changes to libraries/networking/src/EntityScriptClient.cpp (1 of 1 file). Show all

Unified · Split

libraries/networking/src/EntityScriptClient.cpp+4−4
@@ -17,10 +17,10 @@ GetScriptStatusRequest::~GetScriptStatusRequest() { · 16 unmodified lines
1717 void GetScriptStatusRequest::start() {
1818 auto client = DependencyManager::get<EntityScriptClient>();
1919 client->getEntityServerScriptStatus(_entityID, [this](bool responseReceived, bool isRunning, EntityScriptStatus status, QString errorInfo) {
20− responseReceived = responseReceived;
21− isRunning = isRunning;
22− status = status;
23− errorInfo = errorInfo;
20+ _responseReceived = responseReceived;
21+ _isRunning = isRunning;
22+ _status = status;
23+ _errorInfo = errorInfo;
2424
2525 emit finished(this);
2626 });