fixed critical error

This commit is contained in:
Looki2000 2023-05-14 20:32:08 +02:00
parent a138adc31b
commit 94310aa0b8

View File

@ -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 ##############