Skip to content

Commit

Permalink
[MIRROR] Fix stacked cargo piles blocking interaction (#2854)
Browse files Browse the repository at this point in the history
Co-authored-by: SierraKomodo <[email protected]>
Co-authored-by: Lexanx <[email protected]>
  • Loading branch information
3 people authored Nov 24, 2024
1 parent f41fd53 commit 93292f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mechs/equipment/utility.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
return
if(chosen_obj.density)
for(var/atom/A in get_turf(src))
if(A != src && A.density && !(A.atom_flags & ATOM_FLAG_CHECKS_BORDER))
if(!istype(A, /obj/structure/cargopile) && A.density && !(A.atom_flags & ATOM_FLAG_CHECKS_BORDER))
to_chat(user, SPAN_WARNING("\The [A] blocks you from pulling out \the [chosen_obj]."))
return
if(!do_after(user, 0.5 SECONDS, src, DO_PUBLIC_UNIQUE)) return
Expand Down

0 comments on commit 93292f4

Please sign in to comment.