changed parameter
This commit is contained in:
parent
3c4eff2130
commit
da9b7318f6
1 changed files with 1 additions and 1 deletions
2
game.py
2
game.py
|
@ -72,7 +72,7 @@ def play(window):
|
||||||
player_group.add(player)
|
player_group.add(player)
|
||||||
player_group.draw(window)
|
player_group.draw(window)
|
||||||
|
|
||||||
target_group = generate_targets()
|
target_group = generate_targets(player)
|
||||||
bullet_group = pygame.sprite.Group()
|
bullet_group = pygame.sprite.Group()
|
||||||
|
|
||||||
clock = pygame.time.Clock()
|
clock = pygame.time.Clock()
|
||||||
|
|
Reference in a new issue