Merge pull request #5110 from Citadel-Station-13/upstream-merge-34897

[MIRROR] Fixes orbiting stopping when entering disposals
This commit is contained in:
deathride58
2018-01-26 15:52:39 +00:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -190,7 +190,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