Update: CC - Before Render - Moorcow (autqzs1rvq.js) 11 bytes modified
parent
13245be328
commit
2174fb4189
|
@ -634,10 +634,6 @@ this.enemies = this.enemies.reduce(
|
||||||
enemy.lifeTime += data.delta;
|
enemy.lifeTime += data.delta;
|
||||||
|
|
||||||
if (enemy.lifeTime > enemy.life) {
|
if (enemy.lifeTime > enemy.life) {
|
||||||
/**
|
|
||||||
* We only remove the things we cloned
|
|
||||||
*/
|
|
||||||
this.kill(enemy);
|
|
||||||
|
|
||||||
if (!enemy.burning && !enemy.exploding) {
|
if (!enemy.burning && !enemy.exploding) {
|
||||||
this.lives--;
|
this.lives--;
|
||||||
|
@ -648,6 +644,13 @@ this.enemies = this.enemies.reduce(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* We only remove the things we cloned
|
||||||
|
*/
|
||||||
|
this.kill(enemy);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue