1
Fork 0

Removed bad code

This commit is contained in:
Jake Howard 2015-05-09 22:49:23 +01:00
parent e68f820765
commit 1d922b846c

View file

@ -58,8 +58,6 @@ def generate_targets(player):
if group[index].type != "SHOOTER":
group[index].type == "SHOOTER"
changed = True
else:
group[randint(0, len(group)-1)].type == "NORMAL"
return group
@ -76,11 +74,11 @@ def play(window):
bullet_group = pygame.sprite.Group()
clock = pygame.time.Clock()
PLAYING_GAME = True
target_movement_timeout_default = FPS * 0.5
target_movement_timeout = target_movement_timeout_default
logging.info("Game Started.")
PLAYING_GAME = True
while PLAYING_GAME:
window.fill((0,0,0))