Updates to level 2. Fixed extra life through bone dust bug.

This commit is contained in:
Storm Dragon
2025-02-06 02:46:44 -05:00
parent 8f57069c98
commit 3bc1fb3085
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@
"type": "coffin"
},
{
"x_range": [15, 18],
"x_range": [15, 20],
"y": 3,
"sound": "coin",
"collectible": true,
@@ -64,7 +64,7 @@
"type": "coffin"
},
{
"x_range": [65, 68],
"x_range": [65, 70],
"y": 3,
"sound": "coin",
"collectible": true,

View File

@@ -268,7 +268,7 @@ class Level:
# Extra life
self.player._coins = 0
self.player._lives += 1
play_sound(self.sounds['extra_life'])
play_sound(self.sounds['get_extra_life'])
elif obj.isHazard and not self.player.isJumping:
if not self.player.isInvincible: