Fix departmental order consoles not being able to order gas canisters (#21574)

fix: gas canisters from department order
This commit is contained in:
larentoun
2023-06-02 21:37:55 -07:00
committed by GitHub
parent 9ba1f14e03
commit 5cbc67b8b7
+2 -1
View File
@@ -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!")