Skip to content

Commit

Permalink
Merge pull request #33 from sheenhm/clearEntity
Browse files Browse the repository at this point in the history
BugFix : change the 2p's SpriteType when got hit.
  • Loading branch information
Nutriatree authored Oct 20, 2023
2 parents a0071a9 + dccd091 commit 6a0e719
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/entity/Ship.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 6a0e719

Please sign in to comment.