Prevents chameleon effects from entering teleporters, hotfix for mobs being deleted.

This commit is contained in:
Erthilo
2012-05-12 16:40:26 +01:00
parent 035bc3541f
commit 0850cd8ba4
+4
View File
@@ -130,6 +130,10 @@
O.show_message("\red Failure: Cannot authenticate locked on coordinates. Please reinstate coordinate matrix.")
return
if (istype(M, /atom/movable))
if (istype(M, /obj/effect/dummy/chameleon))
for(var/mob/C in M)
C << "\red The projection field prevents you from entering!"
return
if(prob(5) && !accurate) //oh dear a problem, put em in deep space
do_teleport(M, locate(rand(5, world.maxx - 5), rand(5, world.maxy - 5), 3), 2)
else