Skip to content

Commit

Permalink
Update aliens.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Git-Nivrak committed Apr 1, 2024
1 parent ed00cad commit f968e69
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions code/game/objects/effects/aliens.dm
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,11 @@
/obj/effect/xenomorph/spray/Crossed(AM as mob|obj)
..()
if(ishuman(AM))
var/mob/living/carbon/human/H = AM
if(H.ally_of_hivenumber(hivenumber))
return
apply_spray(AM)
else if (isxeno(AM))
var/mob/living/carbon/xenomorph/X = AM
if (X.hivenumber != hivenumber)
apply_spray(AM)
var/mob/living/living_mob = AM
if(living_mob.ally_of_hivenumber(hivenumber))
living_mob.ExtinguishMob()
else
X.ExtinguishMob()
apply_spray(living_mob)
else if(isVehicleMultitile(AM))
var/obj/vehicle/multitile/V = AM
V.handle_acidic_environment(src)
Expand Down

0 comments on commit f968e69

Please sign in to comment.