Levels and ambience updated.
This commit is contained in:
@@ -177,6 +177,11 @@ class Player:
|
||||
self._lives -= 1
|
||||
# Stop all current sounds before playing death sound
|
||||
pygame.mixer.stop()
|
||||
try:
|
||||
pygame.mixer.music.stop()
|
||||
except:
|
||||
pass
|
||||
|
||||
cut_scene(self.sounds, 'lose_a_life')
|
||||
|
||||
def set_max_health(self, value):
|
||||
|
Reference in New Issue
Block a user