Skip to content

Commit

Permalink
yea this should work
Browse files Browse the repository at this point in the history
  • Loading branch information
Erikafox committed Nov 13, 2023
1 parent f2f67f0 commit 91094e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/overmap/ships/controlled_ship_datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@
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)
return TRUE
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 91094e0

Please sign in to comment.