mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-04 14:01:22 +00:00
tramprocess only fires on maps with trams (#58940)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
PROCESSING_SUBSYSTEM_DEF(tramprocess)
|
||||
name = "Tram Process"
|
||||
wait = 1
|
||||
/// only used on maps with trams, so only enabled by such.
|
||||
can_fire = FALSE
|
||||
|
||||
@@ -415,6 +415,10 @@ GLOBAL_LIST_EMPTY(lifts)
|
||||
|
||||
/obj/structure/industrial_lift/tram/central//that's a surprise tool that can help us later
|
||||
|
||||
/obj/structure/industrial_lift/tram/central/Initialize(mapload)
|
||||
. = ..()
|
||||
SStramprocess.can_fire = TRUE
|
||||
|
||||
/obj/structure/industrial_lift/tram/LateInitialize()
|
||||
. = ..()
|
||||
find_our_location()
|
||||
|
||||
Reference in New Issue
Block a user