Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bydariogamer committed Jan 2, 2023
1 parent a4f6e45 commit 735d05d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,6 @@ async def level_loop():
shield_icon.set_colorkey((255, 255, 255))
damage = pygame.Surface((config.DISP_WID, config.DISP_HEI))
damage.fill((20, 0, 0, 30))
time_started = None
won = False
dt = 1/config.BASE_FPS
lose_played = False
Expand All @@ -429,7 +428,6 @@ async def level_loop():
if event.type == pygame.KEYDOWN and event.key == pygame.K_SPACE:
if not player.run:
player.start()
time_started = pygame.time.get_ticks()
player.spacebar()
if event.type == config.SONG_ENDEVENT:
won = True
Expand Down

0 comments on commit 735d05d

Please sign in to comment.