mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Prevents chameleon effects from entering teleporters, hotfix for mobs being deleted.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user