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