Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 5 files). Show all
Unified · Split
| @@ -161,6 +161,7 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, EntityItemProperties proper · 160 unmodified lines | |||
| 161 | } else { | 161 | } else { |
| 162 | // we make a bid for simulation ownership | 162 | // we make a bid for simulation ownership |
| 163 | properties.setSimulatorOwnership(myNodeID, SCRIPT_EDIT_SIMULATOR_PRIORITY); | 163 | properties.setSimulatorOwnership(myNodeID, SCRIPT_EDIT_SIMULATOR_PRIORITY); |
| 164 | entity->flagForOwnership(); | ||
| 164 | } | 165 | } |
| 165 | } | 166 | } |
| 166 | entity->setLastBroadcast(usecTimestampNow()); | 167 | entity->setLastBroadcast(usecTimestampNow()); |