From dccd0918a1a00e029dc58218e7a73f0428b03918 Mon Sep 17 00:00:00 2001 From: Nutria Date: Fri, 20 Oct 2023 11:33:54 +0900 Subject: [PATCH] Bugfix that 2p doesn't change SpriteType when got hit. --- src/entity/Ship.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/entity/Ship.java b/src/entity/Ship.java index afbf2764..9eda907a 100644 --- a/src/entity/Ship.java +++ b/src/entity/Ship.java @@ -142,7 +142,8 @@ public final void updatep_2() { this.skillCooldown.checkFinished(); if (!this.destructionCooldown.checkFinished()) this.spriteType = SpriteType.ShipDestroyed; - this.spriteType = SpriteType.Ship2; + else + this.spriteType = SpriteType.Ship2; } /**