Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1431,7 +1431,7 @@ void ScriptEngine::entityScriptContentAvailable(const EntityItemID& entityID, co · 1430 unmodified lines | ||
| 1431 | 1431 | auto fileName = isURL ? scriptOrURL : "EmbeddedEntityScript"; |
| 1432 | 1432 | |
| 1433 | 1433 | EntityScriptDetails newDetails; |
| 1434 | − newDetails.scriptText = isURL ? contents : scriptOrURL; | |
| 1434 | + newDetails.scriptText = scriptOrURL; | |
| 1435 | 1435 | |
| 1436 | 1436 | if (!success) { |
| 1437 | 1437 | newDetails.status = ERROR_LOADING_SCRIPT; |