mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-26 00:47:10 +08:00
Update spaz.py
This commit is contained in:
parent
d775ed95b4
commit
bd4d41d631
@ -1140,7 +1140,7 @@ class Spaz(bs.Actor):
|
||||
scale=0.4,
|
||||
spread=0.1,
|
||||
)
|
||||
if self.hitpoints > 0:
|
||||
if self.hitpoints >= 0:
|
||||
# It's kinda crappy to die from impacts, so lets reduce
|
||||
# impact damage by a reasonable amount *if* it'll keep us alive.
|
||||
if msg.hit_type == 'impact' and damage >= self.hitpoints:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user