Fixed attack sound sometimes not playing. Fixed a problem where a single attack was doing multiple attack damage. The means I reaqlly need to reword the first three levels, because they are very hard now lol.

This commit is contained in:
Storm Dragon
2025-02-06 15:20:47 -05:00
parent edad61a027
commit ffbb9da992
3 changed files with 16 additions and 11 deletions

View File

@@ -138,4 +138,4 @@ class Catapult(Object):
pumpkin.stop_sound(self.sounds, player.xPos)
pumpkin.isActive = False
self.activePumpkins.remove(pumpkin)
speak("Hit by a pumpkin!")
self.sounds['player_takes_damage'].play()