Refactors the forceMove() drop.

Makes dropping a its proc instead, cleaning up forceMove() handling.
This commit is contained in:
PsiOmegaDelta
2016-09-15 17:11:57 +01:00
committed by Yoshax
parent 795d3dfb7b
commit 2007c143d2
6 changed files with 69 additions and 21 deletions
+5
View File
@@ -50,6 +50,11 @@ var/list/holder_mob_icon_cache = list()
continue
M.forceMove(get_turf(src))
/obj/item/weapon/holder/onDropInto(var/atom/movable/AM)
if(ismob(loc)) // Bypass our holding mob and drop directly to its loc
return loc.loc
return ..()
/obj/item/weapon/holder/GetID()
for(var/mob/M in contents)
var/obj/item/I = M.GetIdCard()