1
Fork 0

Added check if more shooters are given

This commit is contained in:
Jake Howard 2015-05-12 13:19:51 +01:00
parent ab74f0bcad
commit 9196224a32

View file

@ -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: