Skip to content

Commit

Permalink
Dimensional anomaly converting airlocks preserves old name (#193)
Browse files Browse the repository at this point in the history
* Dimensional anomaly converting airlocks preserves old name (#80654)

## Why It's Good For The Game
the name of an airlock indicates what area it is, also generic names
like "gold airlock" look dull

Fixes tgstation/tgstation#80655

## Changelog
:cl:
fix: Dimensional anomlies converting airlocks preserves the old name
/:cl:

* Dimensional anomaly converting airlocks preserves old name

---------

Co-authored-by: 13spacemen <[email protected]>
Co-authored-by: NovaBot <[email protected]>
  • Loading branch information
3 people authored and Iajret committed Jan 3, 2024
1 parent b24731f commit 80b1c48
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@
return
var/obj/new_object = new replace_path(object.loc)
new_object.setDir(object.dir)
if(istype(object, /obj/machinery/door/airlock))
new_object.name = object.name
qdel(object)

/**
Expand Down

0 comments on commit 80b1c48

Please sign in to comment.