mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
fixed express consoles without weird conflicts (#54481)
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
circuit = /obj/item/circuitboard/computer/cargo/express
|
||||
blockade_warning = "Bluespace instability detected. Delivery impossible."
|
||||
req_access = list(ACCESS_QM)
|
||||
is_express = TRUE
|
||||
|
||||
var/message
|
||||
var/printed_beacons = 0 //number of beacons printed. Used to determine beacon names.
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
/// var that tracks message cooldown
|
||||
var/message_cooldown
|
||||
var/list/loaded_coupons
|
||||
/// var that makes express console use rockets
|
||||
var/is_express = FALSE
|
||||
|
||||
|
||||
/obj/machinery/computer/cargo/request
|
||||
@@ -176,6 +178,8 @@
|
||||
log_game("[key_name(usr)] accepted a shuttle loan event.")
|
||||
. = TRUE
|
||||
if("add")
|
||||
if(is_express)
|
||||
return
|
||||
var/id = text2path(params["id"])
|
||||
var/datum/supply_pack/pack = SSshuttle.supply_packs[id]
|
||||
if(!istype(pack))
|
||||
|
||||
Reference in New Issue
Block a user