mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user