mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Evidence bag now respects nodrop (#24171)
Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
@@ -41,11 +41,7 @@
|
||||
if(isstorage(I.loc)) //in a container.
|
||||
var/obj/item/storage/U = I.loc
|
||||
U.remove_from_storage(I, src)
|
||||
else if(user.l_hand == I) //in a hand
|
||||
user.drop_l_hand()
|
||||
else if(user.r_hand == I) //in a hand
|
||||
user.drop_r_hand()
|
||||
else
|
||||
else if(!user.is_holding(I) || !user.unEquip(I)) //in a hand
|
||||
return
|
||||
|
||||
user.visible_message("<span class='notice'>[user] puts [I] into [src].</span>", "<span class='notice'>You put [I] inside [src].</span>",\
|
||||
|
||||
Reference in New Issue
Block a user