Commit 18d7d91e authored by gem2578's avatar gem2578 Committed by Marcus M. Scheunemann

Fix score system to give to the right team

parent 33b86c1c
......@@ -52,7 +52,7 @@ def run(team_left, team_right):
for goal in goals.sprites():
if goal.goal:
ball.reset()
score_board.get(goal.side).increase()
score_board.get(goal.side.other()).increase()
ball.update()
team_left.update()
team_right.update()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment