Skip to content

Commit

Permalink
Fixed wrong argument order for groupcollide
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaland committed Jan 2, 2011
1 parent 26e0048 commit c8a071b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spaceswarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def instanciate_levels():
game_over = True
break

for a in pygame.sprite.groupcollide(bullets, aliens, 1, 1).keys():
for a in pygame.sprite.groupcollide(aliens, bullets, 1, 1).keys():
Explosion(a.rect)
a.kill()
aliens_killed += 1
Expand Down

0 comments on commit c8a071b

Please sign in to comment.