Skip to content

Commit 8d97ced

Browse files
authored
rename 'crashed' to 'collided_sprites'
1 parent acfa073 commit 8d97ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src_py/sprite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1696,7 +1696,7 @@ def spritecollide(sprite, group, dokill, collided=None):
16961696
if sprite_rect_collide(group_sprite.rect)
16971697
]
16981698
if dokill:
1699-
for group_sprite in crashed:
1699+
for group_sprite in collided_sprites:
17001700
group_sprite.kill()
17011701
return collided_sprites
17021702

0 commit comments

Comments
 (0)