# HG changeset patch # User Thibaut Girka # Date 1341690471 -7200 # Node ID cca5843c2e9538cdea97f2a01b384db5bf96c05e # Parent a628b48a745f5746013d1a2c8ccfb1859209f03b Clean up effects left behind by lasers in boss rush mode diff --git a/eosd b/eosd --- a/eosd +++ b/eosd @@ -52,6 +52,9 @@ class EoSDGameBossRush(EoSDGame): self.enemies = [enemy for enemy in self.enemies if enemy.boss_callback != -1 or enemy.frame > 1] self.lasers = [laser for laser in self.lasers if laser.frame > 1] + self.effects = [effect for effect in self.effects + if not hasattr(effect, '_laser') + or effect._laser in self.lasers] self.bullets = [bullet for bullet in self.bullets if bullet.frame > 1] EoSDGame.cleanup(self)