Skip to content

Commit

Permalink
Merge pull request #148 from Mirag1993/Мердж-с-оффами
Browse files Browse the repository at this point in the history
"Fixes" Subshuttle Error (shiptest-ss13#2477)
  • Loading branch information
MysticalFaceLesS authored Nov 14, 2023
2 parents 575253b + 61cfcdb commit a019dc1
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 @@ -77,6 +77,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 a019dc1

Please sign in to comment.