Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -293,8 +293,7 @@ bool EntityScriptingInterface::addLocalEntityCopy(EntityItemProperties& properti · 292 unmodified lines | ||
| 293 | 293 | // since we're creating this object we will immediately volunteer to own its simulation |
| 294 | 294 | entity->flagForOwnershipBid(VOLUNTEER_SIMULATION_PRIORITY); |
| 295 | 295 | properties.setLastEdited(entity->getLastEdited()); |
| 296 | − } | |
| 297 | − else { | |
| 296 | + } else { | |
| 298 | 297 | qCDebug(entities) << "script failed to add new Entity to local Octree"; |
| 299 | 298 | success = false; |
| 300 | 299 | } |