From 7d7c6c5c30d648a2ddd8e6afb0eaa8ce824b60fc Mon Sep 17 00:00:00 2001 From: MMMiracles Date: Sun, 9 May 2021 13:56:48 -0400 Subject: [PATCH] prevents tram from stealing its own landmarks (#58962) * stop stealing the landmark please!!! * better fix --- code/game/objects/structures/industrial_lift.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/objects/structures/industrial_lift.dm b/code/game/objects/structures/industrial_lift.dm index 237fe748068..5135a5bbfb1 100644 --- a/code/game/objects/structures/industrial_lift.dm +++ b/code/game/objects/structures/industrial_lift.dm @@ -185,7 +185,7 @@ GLOBAL_LIST_EMPTY(lifts) /obj/structure/industrial_lift/proc/AddItemOnLift(datum/source, atom/movable/AM) SIGNAL_HANDLER - if(istype(AM, /obj/structure/fluff/tram_rail)) + if(istype(AM, /obj/structure/fluff/tram_rail) || AM.invisibility == INVISIBILITY_ABSTRACT) //prevents the tram from stealing things like landmarks return if(AM in lift_load) return @@ -413,6 +413,7 @@ GLOBAL_LIST_EMPTY(lifts) var/travel_direction var/time_inbetween_moves = 1 + /obj/structure/industrial_lift/tram/central//that's a surprise tool that can help us later /obj/structure/industrial_lift/tram/central/Initialize(mapload)