Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 8 files). Show all
Unified · Split
| @@ -1016,7 +1016,7 @@ void EntityScriptingInterface::deleteEntity(const QUuid& id) { · 1015 unmodified lines | ||
| 1016 | 1016 | |
| 1017 | 1017 | for (auto entity : entitiesToDeleteImmediately) { |
| 1018 | 1018 | if (entity->isMyAvatarEntity()) { |
| 1019 | − getEntityPacketSender()->getMyAvatar()->clearAvatarEntity(entity->getID(), false); | |
| 1019 | + getEntityPacketSender()->getMyAvatar()->clearAvatarEntityInternal(entity->getID()); | |
| 1020 | 1020 | } |
| 1021 | 1021 | } |
| 1022 | 1022 | } |