Refactors the forceMove() drop.

Makes dropping a its proc instead, cleaning up forceMove() handling.
This commit is contained in:
PsiOmegaDelta
2016-05-21 18:56:20 +02:00
committed by Yoshax
parent 795d3dfb7b
commit 2007c143d2
6 changed files with 69 additions and 21 deletions
@@ -394,3 +394,6 @@
var/shake_dir = pick(-1, 1)
animate(src, transform=turn(matrix(), 8*shake_dir), pixel_x=init_px + 2*shake_dir, time=1)
animate(transform=null, pixel_x=init_px, time=6, easing=ELASTIC_EASING)
/obj/structure/closet/onDropInto(var/atom/movable/AM)
return