diff --git a/src/de/teamteamteam/spacescooter/entity/explosion/Explosion.java b/src/de/teamteamteam/spacescooter/entity/explosion/Explosion.java index 7fd1a4e..12ea650 100644 --- a/src/de/teamteamteam/spacescooter/entity/explosion/Explosion.java +++ b/src/de/teamteamteam/spacescooter/entity/explosion/Explosion.java @@ -58,7 +58,7 @@ public class Explosion extends Entity { */ public void update() { this.timeToLive--; - if(this.timeToLive == 0) this.remove(); + if(this.timeToLive <= 0) this.remove(); if(this.count > 0 && this.timeToLive % this.count == 0) { new Explosion(this.getX() + (int) (this.width * this.random.nextDouble()), this.getY() + (int) (this.height * this.random.nextDouble())); this.count--;