fix: forceDeath
This commit is contained in:
parent
8c1e8d8c1a
commit
86c3a12a9e
|
@ -51,7 +51,7 @@ export class Spawner extends decorate(Trait) {
|
|||
const child = this.children[i];
|
||||
// Try kill...
|
||||
if (child.is('alive')) {
|
||||
child.die();
|
||||
child.forceDeath();
|
||||
}
|
||||
else {
|
||||
child.destroy();
|
||||
|
|
Loading…
Reference in New Issue
Block a user