Easy one

There are two teams team A and team B on team A no one was playing. In the middle of the match no one scored on team A and at the end of the match team A still won. How did team A win?