diff --git a/code/modules/events/brand_intelligence.dm b/code/modules/events/brand_intelligence.dm index 813be9b3d8b..b1d6e055506 100644 --- a/code/modules/events/brand_intelligence.dm +++ b/code/modules/events/brand_intelligence.dm @@ -35,7 +35,7 @@ /datum/round_event/brand_intelligence/setup() //select our origin machine (which will also be the type of vending machine affected.) for(var/obj/machinery/vending/vendor in GLOB.machines) - if(!is_station_level(vendor.z)) + if(!vendor.onstation) continue if(!vendor.density) continue diff --git a/code/modules/vending/_vending.dm b/code/modules/vending/_vending.dm index e3d0ef2c023..3b4098b51c0 100644 --- a/code/modules/vending/_vending.dm +++ b/code/modules/vending/_vending.dm @@ -165,10 +165,11 @@ * Is this item on station or not * * if it doesn't originate from off-station during mapload, everything is free + * if it's off-station during mapload, it's also safe from the brand intelligence event */ - var/onstation = TRUE //if it doesn't originate from off-station during mapload, everything is free - ///A variable to change on a per instance basis on the map that allows the instance to force cost and ID requirements - var/onstation_override = FALSE //change this on the object on the map to override the onstation check. DO NOT APPLY THIS GLOBALLY. + var/onstation = TRUE + ///A variable to change on a per instance basis on the map that allows the instance to force cost and ID requirements. DO NOT APPLY THIS GLOBALLY. + var/onstation_override = FALSE var/list/vending_machine_input = list() ///Display header on the input view