Skip to content

Commit

Permalink
Bag Fix
Browse files Browse the repository at this point in the history
Players can no longer telepathically fiddle with the zippers on bags
  • Loading branch information
BogCreature committed Oct 15, 2023
1 parent 7292a32 commit 6ad081c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/components/storage/storage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,6 @@
// this must come before the screen objects only block, dunno why it wasn't before
if(over_object == M)
user_show_to_mob(M)
if(use_sound)
playsound(A, use_sound, 50, TRUE, -5)
if(!istype(over_object, /atom/movable/screen))
INVOKE_ASYNC(src, .proc/dump_content_at, over_object, M)
return
Expand All @@ -615,6 +613,8 @@
to_chat(M, "<span class='warning'>[parent] seems to be [locked_flavor]!</span>")
return FALSE
if(force || M.CanReach(parent, view_only = TRUE))
if(use_sound)
playsound(A, use_sound, 50, TRUE, -5)
show_to(M)

/datum/component/storage/proc/mousedrop_receive(datum/source, atom/movable/O, mob/M)
Expand Down

0 comments on commit 6ad081c

Please sign in to comment.