Skip to content

Commit

Permalink
Update dropship_computer.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGamerdk committed Oct 17, 2023
1 parent 9d67f6d commit 8239219
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions code/modules/shuttle/computers/dropship_computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -325,14 +325,16 @@

.["destinations"] = list()
// add flight
.["destinations"] += list(
list(
"id" = DROPSHIP_FLYBY_ID,
"name" = "Flyby",
"available" = TRUE,
"error" = FALSE
var/is_groundside = is_ground_level(shuttle.z)
if(!is_groundside)
.["destinations"] += list(
list(
"id" = DROPSHIP_FLYBY_ID,
"name" = "Flyby",
"available" = TRUE,
"error" = FALSE
)
)
)

for(var/obj/docking_port/stationary/dock in compatible_landing_zones)
var/dock_reserved = FALSE
Expand Down

0 comments on commit 8239219

Please sign in to comment.