Update: CC - Before Render - Moorcow (autqzs1rvq.js) 11 bytes modified

beta.r3js.org
-=yb4f310 2017-11-18 13:28:27 +01:00
parent 13245be328
commit 2174fb4189
1 changed files with 7 additions and 4 deletions

View File

@ -634,10 +634,6 @@ this.enemies = this.enemies.reduce(
enemy.lifeTime += data.delta;
if (enemy.lifeTime > enemy.life) {
/**
* We only remove the things we cloned
*/
this.kill(enemy);
if (!enemy.burning && !enemy.exploding) {
this.lives--;
@ -648,6 +644,13 @@ this.enemies = this.enemies.reduce(
}
}
/**
* We only remove the things we cloned
*/
this.kill(enemy);
return result;
} else {