Merge pull request #31421 from Xhuis/wardens_vs_revenants
Prevents ocular wardens from targeting dead revenants
This commit is contained in:
committed by
CitadelStationBot
parent
1f349aeccc
commit
3beab07be2
@@ -120,6 +120,10 @@
|
||||
continue
|
||||
if(("ratvar" in H.faction) || ("neutral" in H.faction))
|
||||
continue
|
||||
else if(isrevenant(L))
|
||||
var/mob/living/simple_animal/revenant/R = L
|
||||
if(R.stasis) //Don't target any revenants that are respawning
|
||||
continue
|
||||
else if(!L.mind)
|
||||
continue
|
||||
. += L
|
||||
|
||||
Reference in New Issue
Block a user