From ee20e237779a34247eb0764a6bc0f664a56ef930 Mon Sep 17 00:00:00 2001 From: Putnam Date: Mon, 14 Oct 2019 19:48:20 -0700 Subject: [PATCH] made beaker spawn on pandemic if hands are full --- code/modules/reagents/chemistry/machinery/pandemic.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/reagents/chemistry/machinery/pandemic.dm b/code/modules/reagents/chemistry/machinery/pandemic.dm index e1c9bcd44f..6efa4276b6 100644 --- a/code/modules/reagents/chemistry/machinery/pandemic.dm +++ b/code/modules/reagents/chemistry/machinery/pandemic.dm @@ -244,9 +244,9 @@ /obj/machinery/computer/pandemic/proc/replace_beaker(mob/living/user, obj/item/reagent_containers/new_beaker) if(beaker) - beaker.forceMove(drop_location()) if(user && Adjacent(user) && !issiliconoradminghost(user)) - user.put_in_hands(beaker) + if(!user.put_in_hands(beaker)) + beaker.forceMove(drop_location()) if(new_beaker) beaker = new_beaker else