Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
themanyfaceddemon committed Jul 28, 2024
1 parent 4b91df7 commit ac0def8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Code/systems/texture_system/texture_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ def get_image_recolor(path: str, state: str, color: Color = DEFAULT_COLOR) -> Im
image = image.convert("RGBA")
new_colored_image = [
(
int(pixel[0] * color[0] / 255),
int(pixel[0] * color[1] / 255),
int(pixel[0] * color[2] / 255),
int(pixel[0] * color.r / 255),
int(pixel[0] * color.g / 255),
int(pixel[0] * color.b / 255),
pixel[3]
) if pixel[3] != 0 else pixel
for pixel in image.getdata()
Expand Down

0 comments on commit ac0def8

Please sign in to comment.