Fix for xray + telescience irradiate

Stops people who can see through walls getting irradiated by the telepad
This commit is contained in:
VampyrBytes
2014-07-16 11:47:04 +01:00
parent 3ea5e2dda5
commit 5d4a9ef58c
+3 -2
View File
@@ -63,8 +63,9 @@
s.start()
if(2)
for(var/mob/living/carbon/human/M in viewers(telepad, null))
M.apply_effect((rand(50, 100)), IRRADIATE, 0)
M << "\red You feel irradiated."
if(M.loc.loc == telepad.loc.loc) //stops the geneticists with xray vision getting irradiated
M.apply_effect((rand(50, 100)), IRRADIATE, 0)
M << "\red You feel irradiated."
if(3)
for(var/turf/simulated/floor/target_tile in range(0,telepad))
var/datum/gas_mixture/napalm = new