Fix property assignment in GetScriptStatusRequest

This commit is contained in:
Ryan Huffman 2017-01-19 15:33:17 -08:00
parent 9e17f63b8f
commit ff65d0c8cb

View file

@ -17,10 +17,10 @@ GetScriptStatusRequest::~GetScriptStatusRequest() {
void GetScriptStatusRequest::start() {
auto client = DependencyManager::get<EntityScriptClient>();
client->getEntityServerScriptStatus(_entityID, [this](bool responseReceived, bool isRunning, EntityScriptStatus status, QString errorInfo) {
responseReceived = responseReceived;
isRunning = isRunning;
status = status;
errorInfo = errorInfo;
_responseReceived = responseReceived;
_isRunning = isRunning;
_status = status;
_errorInfo = errorInfo;
emit finished(this);
});