mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 10:03:15 +08:00
Actualizar spaz.py
This commit is contained in:
parent
bd4d41d631
commit
4415f3384b
@ -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