Fixes orbiting stopping when entering disposals

This commit is contained in:
YPO
2018-01-24 13:15:44 -07:00
parent a1ec2c29eb
commit 338adfad4d
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -189,7 +189,7 @@
sleep(5)
if(QDELETED(src))
return
var/obj/structure/disposalholder/H = new()
var/obj/structure/disposalholder/H = new(src)
newHolderDestination(H)
H.init(src)
air_contents = new()
@@ -45,6 +45,8 @@
// note AM since can contain mobs or objs
for(var/A in D)
var/atom/movable/AM = A
if(AM == src)
continue
AM.forceMove(src)
if(istype(AM, /obj/structure/bigDelivery) && !hasmob)
var/obj/structure/bigDelivery/T = AM