mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
set simulationOwner to be the same as the owningAvatar
This commit is contained in:
parent
4b13fd969e
commit
b05ab1b17e
1 changed files with 4 additions and 0 deletions
|
@ -214,6 +214,10 @@ void Avatar::updateAvatarEntities() {
|
|||
properties.setClientOnly(true);
|
||||
properties.setOwningAvatarID(getID());
|
||||
|
||||
// there's not entity-server to tell us we're the simulation owner, so always set the
|
||||
// simulationOwner to the owningAvatarID and a high priority.
|
||||
properties.setSimulationOwner(getID(), 129);
|
||||
|
||||
if (properties.getParentID() == AVATAR_SELF_ID) {
|
||||
properties.setParentID(getID());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue