Fixes large crates (e.g. canisters) not abiding by delivery requirements (#69062)

* Large crates that arrive in wooden boxes now properly follow departmental delivery requirements.

Co-authored-by: Hatterhat <Hatterhat@users.noreply.github.com>
This commit is contained in:
Hatterhat
2022-08-12 13:04:48 -04:00
committed by GitHub
co-authored by Hatterhat
parent 5681844945
commit 4e2bdcfe0b
@@ -28,7 +28,8 @@
if(W.tool_behaviour == TOOL_CROWBAR)
if(manifest)
tear_manifest(user)
if(!open(user))
return FALSE
user.visible_message(span_notice("[user] pries \the [src] open."), \
span_notice("You pry open \the [src]."), \
span_hear("You hear splitting wood."))
@@ -39,7 +40,6 @@
new material_drop(src)
for(var/atom/movable/AM in contents)
AM.forceMove(T)
qdel(src)
else