Merge pull request #3280 from Citadel-Station-13/upstream-merge-31497
[MIRROR] Fixes some tempremoves
This commit is contained in:
@@ -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>")
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user