Skip to content

Commit

Permalink
oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Sep 23, 2023
1 parent 06a9772 commit ba31d89
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/modules/overmap/docking_ticket.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
docking_error = _docking_error

/datum/docking_ticket/Destroy(force, ...)
target.current_docking_ticket = null
target_port.current_docking_ticket = null
if(target)
target.current_docking_ticket = null
if(target_port)
target_port.current_docking_ticket = null

return ..()

0 comments on commit ba31d89

Please sign in to comment.