1
Fork 0

Get FPS from options now

This commit is contained in:
Jake Howard 2015-05-10 13:43:13 +01:00
parent 577d0be1c1
commit 3cc1b12f38

View file

@ -29,10 +29,10 @@ def initialise(menu, options):
pygame.mixer.pre_init(44100, -16, 2, 2048) pygame.mixer.pre_init(44100, -16, 2, 2048)
pygame.init() pygame.init()
init_sounds() init_sounds()
options["Difficulty"] = FPS
window = pygame.display.set_mode(WINDOW_SIZE) window = pygame.display.set_mode(WINDOW_SIZE)
exit_code = play(window) # Run main game loop exit_code = play(window) # Run main game loop
for key, value in Sounds.items(): for key, value in Sounds.items():
value.stop() value.stop()