From 4f9faac862e3d22a7b7fcbd51662bc6f35162bca Mon Sep 17 00:00:00 2001 From: Rob Nelson Date: Sun, 23 Feb 2014 17:01:50 -0800 Subject: [PATCH] Fix MoMMIs not being locked to a specific Z-level. --- code/datums/helper_datums/teleport.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/helper_datums/teleport.dm b/code/datums/helper_datums/teleport.dm index 9ab33e0b979..2d47b9f08cb 100644 --- a/code/datums/helper_datums/teleport.dm +++ b/code/datums/helper_datums/teleport.dm @@ -185,7 +185,7 @@ if(istype(teleatom, /mob/living)) var/mob/living/MM = teleatom - if(MM.locked_to_z != 0 && destination.z == MM.locked_to_z) + if(MM.locked_to_z != 0 && destination.z != MM.locked_to_z) MM.visible_message("\red [MM] bounces off the portal!","\red You're unable to go to that destination!") return 0 return 1 \ No newline at end of file