Update spaz.py

This commit is contained in:
VinniTR 2024-07-01 13:58:47 -05:00 committed by GitHub
parent 29fbb5d7eb
commit c5f1d9fa04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1188,6 +1188,8 @@ class Spaz(bs.Actor):
self.bomb_count += 1
elif isinstance(msg, bs.DieMessage):
if self._dead:
return None
wasdead = self._dead
self._dead = True
self.hitpoints = 0