refactor: initialFollow
This commit is contained in:
parent
f54b6fc1d6
commit
af32353790
|
@ -23,9 +23,7 @@ export default () => {
|
||||||
};
|
};
|
||||||
const augmentSelfEntity = async (entity) => {
|
const augmentSelfEntity = async (entity) => {
|
||||||
if (entity) {
|
if (entity) {
|
||||||
await entity.addTraits({
|
entity.initialFollow();
|
||||||
Followed: {},
|
|
||||||
});
|
|
||||||
entity.on('destroying', onDestroying);
|
entity.on('destroying', onDestroying);
|
||||||
}
|
}
|
||||||
flecks.set('$humus/app.selfEntity', entity);
|
flecks.set('$humus/app.selfEntity', entity);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user