Merge pull request #715 from VinniTR/patch-10

Die Message Fix - Update spaz.py
This commit is contained in:
Eric Froemling 2024-09-27 16:37:07 -07:00 committed by GitHub
commit b800b394ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1196,8 +1196,9 @@ class Spaz(bs.Actor):
if self.node: if self.node:
self.node.delete() self.node.delete()
elif self.node: elif self.node:
if not wasdead:
self.node.hurt = 1.0 self.node.hurt = 1.0
if self.play_big_death_sound and not wasdead: if self.play_big_death_sound:
SpazFactory.get().single_player_death_sound.play() SpazFactory.get().single_player_death_sound.play()
self.node.dead = True self.node.dead = True
bs.timer(2.0, self.node.delete) bs.timer(2.0, self.node.delete)