Package: pathological / 1.1.3-15

40_pygame_181.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Date: Thu, 11 Apr 2013 01:16:52 +0200
Subject: 40_pygame_181

===================================================================
---
 pathological.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/pathological.py b/pathological.py
index e8b1f84..1bf5b3d 100755
--- a/pathological.py
+++ b/pathological.py
@@ -169,6 +169,7 @@ def start_music(name, volume=-1):
 	if not pygame.mixer or not pygame.mixer.music:
 		print "Background music not available."
 		return
+	pygame.mixer.music.stop()
 	fullname = os.path.join('music', name)
 	try:
 		pygame.mixer.music.load(fullname)