Updates some item drops to use drop_location()

This commit is contained in:
ShizCalev
2017-11-24 06:04:50 -05:00
committed by CitadelStationBot
parent 9f7b3a11c3
commit 12aa356f10
20 changed files with 49 additions and 43 deletions
@@ -78,7 +78,7 @@
/obj/machinery/atmospherics/components/unary/cryo_cell/on_deconstruction()
if(beaker)
beaker.forceMove(loc)
beaker.forceMove(drop_location())
beaker = null
/obj/machinery/atmospherics/components/unary/cryo_cell/update_icon()
@@ -381,7 +381,7 @@
. = TRUE
if("ejectbeaker")
if(beaker)
beaker.forceMove(loc)
beaker.forceMove(drop_location())
if(Adjacent(usr) && !issilicon(usr))
usr.put_in_hands(beaker)
beaker = null