Skip to content

Commit 92e2aa8

Browse files
authored
Fix Color being set via ARGB instead of RGBA
1 parent 83937b0 commit 92e2aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rlbot/managers/rendering.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __init__(self, game_interface: SocketRelay):
5454

5555
@staticmethod
5656
def create_color(red: int, green: int, blue: int, alpha: int = 255):
57-
return flat.Color(alpha, red, green, blue)
57+
return flat.Color(red, green, blue, alpha)
5858

5959
@staticmethod
6060
def team_color(team: int, alt_color: bool = False):

0 commit comments

Comments
 (0)