Skip to content

Commit

Permalink
GUHHHH I'M SILLY
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Sep 27, 2023
1 parent 2b712b6 commit 783ca33
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions code/modules/overmap/docking_ticket.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
if(docking_error)
return

if(!target_port)
if(!_target_port)
docking_error = "No target port specified!"
return
target_port = _target_port
Expand All @@ -22,12 +22,12 @@
return
target_port.current_docking_ticket = src

if(!issuer)
if(!_issuer)
docking_error = "No issuer overmap datum specified!"
return
issuer = _issuer

if(!target)
if(!_target)
docking_error = "No target overmap datum specified!"
return
target = _target
Expand All @@ -40,7 +40,9 @@
/datum/docking_ticket/Destroy(force, ...)
if(target)
target.current_docking_ticket = null
target = null
if(target_port)
target_port.current_docking_ticket = null
target_port = null

return ..()

0 comments on commit 783ca33

Please sign in to comment.