fixed critical error
This commit is contained in:
parent
a138adc31b
commit
94310aa0b8
7
main.py
7
main.py
@ -35,9 +35,6 @@ audio = True
|
|||||||
|
|
||||||
##################
|
##################
|
||||||
|
|
||||||
if audio:
|
|
||||||
intro_sound = pygame.mixer.Sound("kurwa.wav")
|
|
||||||
|
|
||||||
damping_multiplier = 1 - damping
|
damping_multiplier = 1 - damping
|
||||||
|
|
||||||
delta_time = 1 / fps
|
delta_time = 1 / fps
|
||||||
@ -115,12 +112,16 @@ for pixel in pixels_target_pos:
|
|||||||
# pygame init
|
# pygame init
|
||||||
pygame.init()
|
pygame.init()
|
||||||
window = pygame.display.set_mode(window_size)
|
window = pygame.display.set_mode(window_size)
|
||||||
|
|
||||||
clock = pygame.time.Clock()
|
clock = pygame.time.Clock()
|
||||||
|
|
||||||
# font
|
# font
|
||||||
font = pygame.font.SysFont("Arial", 20)
|
font = pygame.font.SysFont("Arial", 20)
|
||||||
|
|
||||||
|
|
||||||
|
if audio:
|
||||||
|
intro_sound = pygame.mixer.Sound("kurwa.wav")
|
||||||
|
|
||||||
|
|
||||||
############# another config stuff ##############
|
############# another config stuff ##############
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user