From f406a4597a0c41d767ef65dadf63fb8bba2ba711 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Sun, 6 May 2018 01:31:13 -0400 Subject: [PATCH] Adjacency check for tram departures Fixes #3636 --- maps/tether/tether_things.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maps/tether/tether_things.dm b/maps/tether/tether_things.dm index 3168f7aab0..695b66d35a 100644 --- a/maps/tether/tether_things.dm +++ b/maps/tether/tether_things.dm @@ -243,7 +243,7 @@ var/mob/living/carbon/human/user = AM var/choice = alert("Do you want to depart via the tram? Your character will leave the round.","Departure","Yes","No") - if(user && choice == "Yes") + if(user && Adjacent(user) && choice == "Yes") user.ghostize() despawn_occupant(user)