From 67d13d3ca4abf6eda975e2a22590971e056ada04 Mon Sep 17 00:00:00 2001 From: Apologieze Date: Sat, 16 Apr 2022 14:54:54 +0200 Subject: [PATCH] music fix --- crash.py | 1 + value.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crash.py b/crash.py index 5ce370d..bb4a384 100644 --- a/crash.py +++ b/crash.py @@ -73,6 +73,7 @@ class Gen(): self.rocket.sprite.rect.bottom = self.res[1] - hauteur # screen = pg.display.set_mode(res, pg.RESIZABLE) elif event.type == pg.QUIT: + pg.mixer.music.stop() self.CHANGESCENE = 1 return diff --git a/value.json b/value.json index 588e465..ebde8f3 100644 --- a/value.json +++ b/value.json @@ -1 +1 @@ -{"balance": 103635.86} \ No newline at end of file +{"balance": 103624.86} \ No newline at end of file