mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Fix a bug related to storage transfer. (#31353)
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
return TRUE
|
||||
|
||||
/obj/item/storage/proc/dump_storage(mob/user, obj/item/storage/target)
|
||||
if(!length(contents) || user.restrained() || (HAS_TRAIT(user, TRAIT_HANDS_BLOCKED)) || !user.can_reach(target) || src == target)
|
||||
if(!length(contents) || user.restrained() || (HAS_TRAIT(user, TRAIT_HANDS_BLOCKED)) || !user.can_reach(target) || !user.can_reach(src) || src == target)
|
||||
return
|
||||
for(var/obj/item/thing in contents)
|
||||
if(!target.can_be_inserted(thing))
|
||||
|
||||
Reference in New Issue
Block a user