mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Cargo canister purchases fixed again (#59274)
There were some remaining bugs with purchasing gas canisters brought to my attention.
This commit is contained in:
@@ -163,10 +163,11 @@
|
||||
if(TIMER_COOLDOWN_CHECK(src, COOLDOWN_EXPRESSPOD_CONSOLE))
|
||||
say("Railgun recalibrating. Stand by.")
|
||||
return
|
||||
var/id = text2path(params["id"])
|
||||
var/id = params["id"]
|
||||
id = text2path(id) || id
|
||||
var/datum/supply_pack/pack = SSshuttle.supply_packs[id]
|
||||
if(!istype(pack))
|
||||
return
|
||||
CRASH("Unknown supply pack id given by express order console ui. ID: [params["id"]]")
|
||||
var/name = "*None Provided*"
|
||||
var/rank = "*None Provided*"
|
||||
var/ckey = usr.ckey
|
||||
|
||||
Reference in New Issue
Block a user