entity-server will expire stale simulation ownership
Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 11 files). Show all
Unified · Split
| @@ -454,7 +454,6 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, const EntityItemProperties& · 453 unmodified lines | |||
| 454 | // we make a bid for simulation ownership | 454 | // we make a bid for simulation ownership |
| 455 | properties.setSimulationOwner(myNodeID, SCRIPT_POKE_SIMULATION_PRIORITY); | 455 | properties.setSimulationOwner(myNodeID, SCRIPT_POKE_SIMULATION_PRIORITY); |
| 456 | entity->flagForOwnershipBid(SCRIPT_POKE_SIMULATION_PRIORITY); | 456 | entity->flagForOwnershipBid(SCRIPT_POKE_SIMULATION_PRIORITY); |
| 457 | entity->rememberHasSimulationOwnershipBid(); | ||
| 458 | } | 457 | } |
| 459 | } | 458 | } |
| 460 | if (properties.queryAACubeRelatedPropertyChanged()) { | 459 | if (properties.queryAACubeRelatedPropertyChanged()) { |