Skip to content

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mullenpaul committed Oct 11, 2023
1 parent 8a9c16d commit 01b6381
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/modules/shuttle/computers/dropship_computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -390,14 +390,14 @@
var/found = FALSE
playsound(loc, get_sfx("terminal_button"), KEYBOARD_SOUND_VOLUME, 1)
for(var/destination in local_data["destinations"])
if(destination["id"] == dockId)
if(destination["id"] == dock_id)
found = TRUE
break
if(!found)
log_admin("[key_name(user)] may be attempting a href dock exploit on [src] with target location \"[dockId]\"")
to_chat(user, SPAN_WARNING("The [dockId] dock is not available at this time."))
log_admin("[key_name(user)] may be attempting a href dock exploit on [src] with target location \"[dock_id]\"")
to_chat(user, SPAN_WARNING("The [dock_id] dock is not available at this time."))
return
var/obj/docking_port/stationary/dock = SSshuttle.getDock(dockId)
var/obj/docking_port/stationary/dock = SSshuttle.getDock(dock_id)
var/dock_reserved = FALSE
for(var/obj/docking_port/mobile/other_shuttle in SSshuttle.mobile)
if(dock == other_shuttle.destination)
Expand Down

0 comments on commit 01b6381

Please sign in to comment.