Added check if more shooters are given
This commit is contained in:
parent
ab74f0bcad
commit
9196224a32
1 changed files with 2 additions and 1 deletions
3
game.py
3
game.py
|
@ -58,7 +58,8 @@ def generate_targets(player):
|
|||
temp = Target(x=j,y=i, textures=player.options["Textures"])
|
||||
sprite_list.append(temp)
|
||||
del temp
|
||||
|
||||
if len(sprite_list) > level.firebacks:
|
||||
level.firebacks = len(sprite_list)
|
||||
for i in range(level.firebacks):
|
||||
changed = False
|
||||
while not changed:
|
||||
|
|
Reference in a new issue