Fixes drakes continuing to swoop when killed (#713)
This commit is contained in:
committed by
Poojawa
parent
315f2b7738
commit
fa888cc521
@@ -187,8 +187,9 @@ Difficulty: Medium
|
||||
animate(src, transform = matrix()*0.9, time = 3, easing = BOUNCE_EASING)
|
||||
for(var/i in 1 to 3)
|
||||
sleep(1)
|
||||
if(QDELETED(src)) //we got hit and died, rip us
|
||||
if(QDELETED(src) || stat == DEAD) //we got hit and died, rip us
|
||||
qdel(F)
|
||||
swooping &= ~SWOOP_DAMAGEABLE
|
||||
return
|
||||
animate(src, transform = matrix()*0.7, time = 7)
|
||||
swooping |= SWOOP_INVULNERABLE
|
||||
|
||||
Reference in New Issue
Block a user