fix: return spawn
This commit is contained in:
parent
8aa6631b03
commit
3197525f03
|
@ -91,6 +91,7 @@ export class Spawner extends decorate(Trait) {
|
|||
this.children.splice(index, 1);
|
||||
})
|
||||
list.addEntity(spawn);
|
||||
return spawn;
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user