you no longer rename door assemblies with pens on combat mode (#68550)

what the title says
it makes you able to break door assembles with an energy dagger
This commit is contained in:
Fikou
2022-07-24 21:16:10 +03:00
committed by GitHub
parent 01fa0b007e
commit 01838b14a6
@@ -50,8 +50,8 @@
if(doorname)
. += span_notice("There is a small <i>paper</i> placard on the assembly labelled \"[doorname]\".")
/obj/structure/door_assembly/attackby(obj/item/W, mob/user, params)
if(istype(W, /obj/item/pen))
/obj/structure/door_assembly/attackby(obj/item/W, mob/living/user, params)
if(istype(W, /obj/item/pen) && !user.combat_mode)
var/t = tgui_input_text(user, "Enter the name for the door", "Airlock Renaming", created_name, MAX_NAME_LEN)
if(!t)
return