From 6cae51a945835f3d80254bfdc2f3ad65dd2bfeba Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Fri, 2 Jan 2015 18:48:06 +1030 Subject: [PATCH] Fixes #7625 --- .../human/species/xenomorphs/alien_powers.dm | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/code/modules/mob/living/carbon/human/species/xenomorphs/alien_powers.dm b/code/modules/mob/living/carbon/human/species/xenomorphs/alien_powers.dm index 0f942f3c4d..167271aef9 100644 --- a/code/modules/mob/living/carbon/human/species/xenomorphs/alien_powers.dm +++ b/code/modules/mob/living/carbon/human/species/xenomorphs/alien_powers.dm @@ -139,20 +139,10 @@ if(I.unacidable) //So the aliens don't destroy energy fields/singularies/other aliens/etc with their acid. src << "You cannot dissolve this object." return - // TURF CHECK - else if(istype(O, /turf/simulated)) - var/turf/T = O - // R WALL - if(istype(T, /turf/simulated/wall/r_wall)) - src << "You cannot dissolve this object." - return - // R FLOOR - if(istype(T, /turf/simulated/floor/engine)) - src << "You cannot dissolve this object." - return - else// Not a type we can acid. - return + else if(istype(O, /turf/simulated/wall/r_wall) || istype(O, /turf/simulated/floor/engine)) + src << "You cannot dissolve this object." + return if(check_alien_ability(200,0,"acid gland")) new /obj/effect/alien/acid(get_turf(O), O)