mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fix MoMMIs not being locked to a specific Z-level.
This commit is contained in:
@@ -185,7 +185,7 @@
|
|||||||
|
|
||||||
if(istype(teleatom, /mob/living))
|
if(istype(teleatom, /mob/living))
|
||||||
var/mob/living/MM = teleatom
|
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 <b>[MM] bounces off the portal!</b>","\red You're unable to go to that destination!")
|
MM.visible_message("\red <b>[MM] bounces off the portal!</b>","\red You're unable to go to that destination!")
|
||||||
return 0
|
return 0
|
||||||
return 1
|
return 1
|
||||||
Reference in New Issue
Block a user