Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
I really want this to work this time.
  • Loading branch information
Erikafox authored and Mirag1993 committed Nov 16, 2023
1 parent b475340 commit ece345c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/overmap/ships/controlled_ship_datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
shuttle_area.rename_area("[new_name] [initial(shuttle_area.name)]")
if(!force)
COOLDOWN_START(src, rename_cooldown, 5 MINUTES)
if(shuttle_port.virtual_z() == null)
if(shuttle_port?.virtual_z() == null)
return TRUE
priority_announce("The [oldname] has been renamed to the [new_name].", "Docking Announcement", sender_override = new_name, zlevel = shuttle_port.virtual_z())
priority_announce("The [oldname] has been renamed to the [new_name].", "Docking Announcement", sender_override = new_name, zlevel = shuttle_port?.virtual_z())
return TRUE

/**
Expand Down

0 comments on commit ece345c

Please sign in to comment.