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"])
|
temp = Target(x=j,y=i, textures=player.options["Textures"])
|
||||||
sprite_list.append(temp)
|
sprite_list.append(temp)
|
||||||
del temp
|
del temp
|
||||||
|
if len(sprite_list) > level.firebacks:
|
||||||
|
level.firebacks = len(sprite_list)
|
||||||
for i in range(level.firebacks):
|
for i in range(level.firebacks):
|
||||||
changed = False
|
changed = False
|
||||||
while not changed:
|
while not changed:
|
||||||
|
|
Reference in a new issue