Skip to content

Commit 7722c50

Browse files
committed
Add default value for alt_color
1 parent 2905d5e commit 7722c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rlbot/managers/rendering.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def create_color(red: int, green: int, blue: int, alpha: int = 255):
5656
return flat.Color(alpha, red, green, blue)
5757

5858
@staticmethod
59-
def team_color(team: int, alt_color: int):
59+
def team_color(team: int, alt_color: bool = False):
6060
if team == 0:
6161
return Renderer.cyan if alt_color else Renderer.blue
6262
elif team == 1:

0 commit comments

Comments
 (0)