File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -571,7 +571,7 @@ def update(self):
571571 target .x = max (AI_MIN_X , min (AI_MAX_X , target .x ))
572572 target .y = max (AI_MIN_Y , min (AI_MAX_Y , target .y ))
573573
574- other_team = 1 if self .team == 0 else 1
574+ other_team = 1 if self .team == 0 else 0
575575 speed = LEAD_PLAYER_BASE_SPEED
576576 if game .teams [other_team ].human ():
577577 speed += game .difficulty .speed_boost
@@ -794,7 +794,7 @@ def update(self):
794794 o = self .ball .owner
795795 pos , team = o .vpos , o .team
796796 owners_target_goal = game .goals [team ]
797- other_team = 1 if team == 0 else 1
797+ other_team = 1 if team == 0 else 0
798798
799799 if self .difficulty .goalie_enabled :
800800 # Find the nearest opposing team player to the goal, and make them mark the goal
You can’t perform that action at this time.
0 commit comments