Skip to content

Commit

Permalink
speed improved
Browse files Browse the repository at this point in the history
  • Loading branch information
K0626089 committed Jun 9, 2017
1 parent b25a23c commit 262b7df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytris.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def is_stackable(mino):
if event.type == QUIT:
done = True
elif event.type == USEREVENT:
pygame.time.set_timer(pygame.USEREVENT, framerate * 10)
pygame.time.set_timer(pygame.USEREVENT, 300)
over_text_1 = ui_variables.h2_b.render("GAME", 1, ui_variables.white)
over_text_2 = ui_variables.h2_b.render("OVER", 1, ui_variables.white)
over_start = ui_variables.h5.render("Press esc to continue", 1, ui_variables.white)
Expand Down Expand Up @@ -478,7 +478,7 @@ def is_stackable(mino):
if event.type == QUIT:
done = True
elif event.type == USEREVENT:
pygame.time.set_timer(pygame.USEREVENT, framerate * 10)
pygame.time.set_timer(pygame.USEREVENT, 300)
screen.fill(ui_variables.white)
pygame.draw.rect(
screen,
Expand Down

0 comments on commit 262b7df

Please sign in to comment.