1
Fork 0

added loop so targets arent always shooting

This commit is contained in:
Jake Howard 2015-05-08 10:20:00 +01:00
parent 47464b7428
commit cb28b4ab4e
1 changed files with 1 additions and 0 deletions

View File

@ -160,6 +160,7 @@ def play(window):
for target in target_group:
if target.type == "SHOOTING":
if randint(0,100) > 1: continue
temp = Bullet(target)
temp.speed = -3 #So it shoots down!
bullet_group.add(temp)