fix: forceDeath

This commit is contained in:
cha0s 2019-04-21 21:44:31 -05:00
parent 8c1e8d8c1a
commit 86c3a12a9e

View File

@ -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();