mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
prevents tram from stealing its own landmarks (#58962)
* stop stealing the landmark please!!! * better fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user