[MIRROR] Refactors move procs to support multitle objects (#6423)

* Refactors move procs to support multitle objects

* Update _blob.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
SkyratBot
2021-06-22 22:40:04 +01:00
committed by GitHub
co-authored by Rohesie Gandalf
parent 3d784d4c1e
commit d85a02babd
82 changed files with 349 additions and 300 deletions
+2 -2
View File
@@ -34,9 +34,9 @@
icon_state = "paperplane_carbon" // It's the purple carbon copy. Use the purple paper plane
update_appearance()
/obj/item/paperplane/Exited(atom/movable/AM, atom/newLoc)
/obj/item/paperplane/Exited(atom/movable/gone, direction)
. = ..()
if (AM == internalPaper)
if (internalPaper == gone)
internalPaper = null
if(!QDELETED(src))
qdel(src)
+1 -1
View File
@@ -427,7 +427,7 @@
visible_message(span_warning("[document_copy] is shoved out of the way by [ass]!"))
document_copy = null
/obj/machinery/photocopier/Exited(atom/movable/AM, atom/newloc)
/obj/machinery/photocopier/Exited(atom/movable/gone, direction)
check_ass() // There was potentially a person sitting on the copier, check if they're still there.
return ..()