Added Thermals and emp_act(). Tweaked some related code.

This commit is contained in:
xxalpha
2015-03-08 20:19:02 +00:00
parent b1e340b19b
commit fc81daee07
8 changed files with 49 additions and 19 deletions
+1 -1
View File
@@ -179,7 +179,7 @@
/datum/mutation/human/x_ray/on_losing(mob/living/carbon/human/owner)
if(..()) return
if(locate(SEE_MOBS|SEE_OBJS|SEE_TURFS,owner.permanent_sight_flags))
if(locate(SEE_MOBS,owner.permanent_sight_flags) && locate(SEE_OBJS,owner.permanent_sight_flags) && locate(SEE_TURFS,owner.permanent_sight_flags)) //Xray flag combo
return
owner.see_in_dark = initial(owner.see_in_dark)
owner.sight = initial(owner.sight)