Skip to content

Commit

Permalink
Solved change in skin color when displaying dying skin
Browse files Browse the repository at this point in the history
  • Loading branch information
bagarozzi committed Jul 10, 2024
1 parent 5572052 commit 895cb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/it/unibo/bombardero/view/GamePlayCard.java
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ protected void updateSprites() {
}
newCharactersImages.put(
character.getKey(),
new SpriteImageCombo(sprite, image, "main")
new SpriteImageCombo(sprite, image, character.getValue().colorCode())
);
});
charactersImages.putAll(newCharactersImages);
Expand Down

0 comments on commit 895cb5f

Please sign in to comment.