Band aid fix for ambulance teleporting

This commit is contained in:
Markolie
2017-02-22 20:08:33 +01:00
parent 707b926881
commit fb53271664
+3
View File
@@ -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)