From ed3a0315433f4253c6153f3e85ba93a3224e4893 Mon Sep 17 00:00:00 2001 From: Leo Date: Tue, 10 Oct 2017 09:09:23 -0300 Subject: [PATCH 1/2] Merge pull request #31497 from AnturK/cyberboss-pls Fixes some tempremoves --- code/modules/hydroponics/gene_modder.dm | 2 +- code/modules/power/lighting.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/hydroponics/gene_modder.dm b/code/modules/hydroponics/gene_modder.dm index de881a0611..9235bb83d7 100644 --- a/code/modules/hydroponics/gene_modder.dm +++ b/code/modules/hydroponics/gene_modder.dm @@ -80,7 +80,7 @@ if(seed) to_chat(user, "A sample is already loaded into the machine!") else - if(!user.temporarilyRemoveItemFromInventory()) + if(!user.temporarilyRemoveItemFromInventory(I)) return insert_seed(I) to_chat(user, "You add [I] to the machine.") diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm index 8634e5af5b..dc4296f262 100644 --- a/code/modules/power/lighting.dm +++ b/code/modules/power/lighting.dm @@ -315,7 +315,7 @@ src.add_fingerprint(user) var/obj/item/light/L = W if(istype(L, light_type)) - if(!user.temporarilyRemoveItemFromInventory()) + if(!user.temporarilyRemoveItemFromInventory(L)) return src.add_fingerprint(user)