Merge pull request #3280 from Citadel-Station-13/upstream-merge-31497

[MIRROR] Fixes some tempremoves
This commit is contained in:
LetterJay
2017-10-10 22:28:03 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -80,7 +80,7 @@
if(seed)
to_chat(user, "<span class='warning'>A sample is already loaded into the machine!</span>")
else
if(!user.temporarilyRemoveItemFromInventory())
if(!user.temporarilyRemoveItemFromInventory(I))
return
insert_seed(I)
to_chat(user, "<span class='notice'>You add [I] to the machine.</span>")
+1 -1
View File
@@ -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)