mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
[s] Restores Cargo Shuttle Blacklist Enforcement (#58201)
Removed an inappropriate as anything inside the cargo shuttle's blacklist check that was breaking it.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user