mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-27 01:13:13 +08:00
Update spaz.py
This commit is contained in:
parent
29fbb5d7eb
commit
c5f1d9fa04
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user