From 5cbc67b8b79923f2c83a1b0bdf66d3ff6e1e8672 Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Sat, 3 Jun 2023 07:37:55 +0300 Subject: [PATCH] Fix departmental order consoles not being able to order gas canisters (#21574) fix: gas canisters from department order --- code/modules/cargo/department_order.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/cargo/department_order.dm b/code/modules/cargo/department_order.dm index 805d9857ed8..972588a6355 100644 --- a/code/modules/cargo/department_order.dm +++ b/code/modules/cargo/department_order.dm @@ -117,7 +117,8 @@ GLOBAL_LIST_INIT(department_order_cooldowns, list( return . = TRUE - var/id = text2path(params["id"]) + var/id = params["id"] + id = text2path(id) || id var/datum/supply_pack/pack = SSshuttle.supply_packs[id] if(!pack) say("Something went wrong!")