Skip to content

Commit

Permalink
package issue (#5512)
Browse files Browse the repository at this point in the history
* package issue

* Update code/controllers/subsystems/trade.dm
  • Loading branch information
Trilbyspaceclone authored Jul 3, 2024
1 parent 266a00a commit f80a530
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/controllers/subsystems/trade.dm
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,9 @@ SUBSYSTEM_DEF(trade)
invoice_contents_info += "<li>[item.name]</li>"
cost += export_value
LEGACY_SEND_SIGNAL(src, COMSIG_TRADE_BEACON, item)
if(istype(item, /obj/structure/bigDelivery)) //This is a little janky but works to prevent the create from sticking around well it deletes
var/obj/structure/bigDelivery/BD = item
BD.wrapped = null
qdel(item)
else
item.forceMove(get_turf(AM)) // Should be the same tile
Expand Down

0 comments on commit f80a530

Please sign in to comment.