From f5bcee4b59af94ade73ba2e4ef187464f3859a90 Mon Sep 17 00:00:00 2001 From: vuonojenmustaturska Date: Fri, 2 Mar 2018 13:39:36 +0200 Subject: [PATCH] Revert "Removes the action button from chem implants" (#36084) * Revert "Automatic changelog compile, [ci skip]" This reverts commit 7ea6424126ce677438a49a92cae20d29415d5d36. * Revert "Automatic changelog generation for PR #36021 [ci skip]" This reverts commit a478cf0b4201ae0f30aaf7d3e9d3eecae8efbd33. * Revert "Update implant_chem.dm (#36021)" This reverts commit a4df56404a2deab3e1884f52d209903b6a04aacb. --- code/game/objects/items/implants/implant_chem.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/items/implants/implant_chem.dm b/code/game/objects/items/implants/implant_chem.dm index ef36b3da92f..e266f3ab096 100644 --- a/code/game/objects/items/implants/implant_chem.dm +++ b/code/game/objects/items/implants/implant_chem.dm @@ -38,6 +38,10 @@ return 0 var/mob/living/carbon/R = imp_in var/injectamount = null + if (cause == "action_button") + injectamount = reagents.total_volume + else + injectamount = cause reagents.trans_to(R, injectamount) to_chat(R, "You hear a faint beep.") if(!reagents.total_volume)