Skip to content

Commit 5cffc7f

Browse files
authored
added turf check to get_export_price_multiplier (#8619)
1 parent 9678fbc commit 5cffc7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/controllers/subsystems/trade.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ SUBSYSTEM_DEF(trade)
541541
create_log_entry("Export", guild_account.get_name(), invoice_contents_info, cost, FALSE, get_turf(senderBeacon))
542542

543543
/datum/controller/subsystem/trade/proc/get_export_price_multiplier(atom/movable/target)
544-
if(!target || target.anchored)
544+
if(!target || isturf(target) || target.anchored)
545545
return NONEXPORTABLE
546546

547547
. = EXPORTABLE

0 commit comments

Comments
 (0)