From 1c596529be1f7ceddea69dd840adfac721e50e8f Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 10 May 2021 00:23:44 +0200 Subject: [PATCH] [MIRROR] prevents tram from stealing its own landmarks (#5583) * prevents tram from stealing its own landmarks (#58962) * stop stealing the landmark please!!! * better fix * prevents tram from stealing its own landmarks Co-authored-by: MMMiracles --- 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 7a41b2ad384..372626554de 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)