From fb5327166475eeeb92608e8d16919286ba743509 Mon Sep 17 00:00:00 2001 From: Markolie Date: Wed, 22 Feb 2017 20:08:33 +0100 Subject: [PATCH] Band aid fix for ambulance teleporting --- code/modules/vehicle/ambulance.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/vehicle/ambulance.dm b/code/modules/vehicle/ambulance.dm index 7d3f9084f5f..cd39a41df79 100644 --- a/code/modules/vehicle/ambulance.dm +++ b/code/modules/vehicle/ambulance.dm @@ -31,6 +31,9 @@ /obj/vehicle/ambulance/Move(newloc, Dir) var/oldloc = loc + if(bed && !Adjacent(bed)) + bed = null + return . = ..() if(bed && get_dist(oldloc, loc) <= 2) bed.Move(oldloc)