Update supply.dm

This commit is contained in:
kevinz000
2019-12-21 23:50:59 -08:00
committed by GitHub
parent d9cd90c3c5
commit f39d12527d
+2 -4
View File
@@ -26,9 +26,7 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list(
/obj/structure/extraction_point,
/obj/machinery/syndicatebomb,
/obj/item/hilbertshotel
))
- typecacheof(list(/mob/living/simple_animal/revenant, /mob/living/simple_animal/slaughter)) //These things have snowflake handling.
)
)))
GLOBAL_LIST_INIT(cargo_shuttle_leave_behind_typecache, typecacheof(list(
/mob/living/simple_animal/revenant,
@@ -57,7 +55,7 @@ GLOBAL_LIST_INIT(cargo_shuttle_leave_behind_typecache, typecacheof(list(
/obj/docking_port/mobile/supply/canMove()
if(is_station_level(z))
return check_blacklist(shuttle_areas, GLOB.blacklisted_cargo_types)
return check_blacklist(shuttle_areas, GLOB.blacklisted_cargo_types - GLOB.cargo_shuttle_leave_behind_typecache)
return ..()
/obj/docking_port/mobile/supply/enterTransit()