From e8cb89f8d9d14abe88c7836d3afda09bd2ebe3dd Mon Sep 17 00:00:00 2001 From: Thunder12345 Date: Wed, 7 Apr 2021 21:36:56 +0100 Subject: [PATCH] [s] Restores Cargo Shuttle Blacklist Enforcement (#58201) Removed an inappropriate as anything inside the cargo shuttle's blacklist check that was breaking it. --- code/modules/shuttle/supply.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/shuttle/supply.dm b/code/modules/shuttle/supply.dm index 7a4be8c98e4..d7d57b8d44f 100644 --- a/code/modules/shuttle/supply.dm +++ b/code/modules/shuttle/supply.dm @@ -67,7 +67,7 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list( /obj/docking_port/mobile/supply/proc/check_blacklist(areaInstances) for(var/place in areaInstances) var/area/shuttle/shuttle_area = place - for(var/turf/shuttle_turf as anything in shuttle_area) + for(var/turf/shuttle_turf in shuttle_area) for(var/atom/passenger in shuttle_turf.GetAllContents()) if((is_type_in_typecache(passenger, GLOB.blacklisted_cargo_types) || HAS_TRAIT(passenger, TRAIT_BANNED_FROM_CARGO_SHUTTLE)) && !istype(passenger, /obj/docking_port)) return FALSE