[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 <lolaccount1@hotmail.com>
This commit is contained in:
SkyratBot
2021-05-09 23:23:44 +01:00
committed by GitHub
co-authored by MMMiracles
parent 26c61e7d7d
commit 1c596529be
@@ -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)