diff --git a/webclient/src/spaceport/Ship.js b/webclient/src/spaceport/Ship.js index 1f324e0..7d4a2bc 100644 --- a/webclient/src/spaceport/Ship.js +++ b/webclient/src/spaceport/Ship.js @@ -77,7 +77,6 @@ export class Ship { if (this.life < 0 && !this.flyin && !this.exploded) { this.mesh.geometry = burstGeo; this.mesh.material.transparent = true; - this.mesh.material.opacity *= 0.95; this.exploded = true; this.mesh.scale.x = 1; this.mesh.scale.y = 1; @@ -85,6 +84,7 @@ export class Ship { } if (this.exploded) { + this.mesh.material.opacity *= 0.95; this.mesh.scale.x *= 1.1; this.mesh.scale.y *= 1.1; this.mesh.scale.z *= 1.1;