Skip to content

Commit

Permalink
re-un-fucks elevators
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroBetel committed Aug 27, 2024
1 parent 7b0e699 commit 883cb4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/modules/shuttle/computers/trijent_elevator_control.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@

/obj/structure/machinery/computer/shuttle/elevator_controller/proc/get_landing_zones()
. = list()
var/obj/docking_port/mobile/shuttle = SSshuttle.getShuttle(shuttleId)
var/obj/docking_port/mobile/trijent_elevator/shuttle = SSshuttle.getShuttle(shuttleId)

for(var/obj/docking_port/stationary/elev in SSshuttle.stationary)
for(var/obj/docking_port/stationary/trijent_elevator/elev in SSshuttle.stationary)
if(!shuttle.elevator_network)
. += list(elev)
continue
Expand Down
1 change: 0 additions & 1 deletion code/modules/shuttle/shuttle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@

var/datum/map_template/shuttle/roundstart_template
var/json_key
var/elevator_network

/obj/docking_port/stationary/register(replace = FALSE)
. = ..()
Expand Down
2 changes: 2 additions & 0 deletions code/modules/shuttle/shuttles/trijent_elevator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

movement_force = list("KNOCKDOWN" = 0, "THROW" = 0)
var/datum/door_controller/aggregate/door_control
var/elevator_network

/obj/docking_port/mobile/trijent_elevator/Initialize(mapload, ...)
. = ..()
Expand All @@ -45,6 +46,7 @@
// shutters to clear the area
var/airlock_area
var/airlock_exit
var/elevator_network

/obj/docking_port/stationary/trijent_elevator/proc/get_doors()
. = list()
Expand Down

0 comments on commit 883cb4d

Please sign in to comment.