Skip to content

Commit

Permalink
God (#2486)
Browse files Browse the repository at this point in the history
I really want this to work this time.
  • Loading branch information
Erikafox authored Nov 15, 2023
1 parent 230ab22 commit 8339759
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 8339759

Please sign in to comment.