A few fixes

This commit is contained in:
Heroman
2022-12-20 18:01:31 +10:00
parent 5fffdef1a8
commit b7a51d6281
4 changed files with 2665 additions and 43503 deletions
+3 -1
View File
@@ -69,8 +69,10 @@
to_chat(user, "<span class='notice'>You put the [W] into \the [src].</span>")
update_icon()
else if(istype(W, /obj/item/weapon/pen))
if(!(loc == user))
to_chat(user, "<span class='warning'>You cannot rename \the [src] without holding it.</span>")
var/n_name = sanitizeSafe(tgui_input_text(usr, "What would you like to label the folder?", "Folder Labelling", null, MAX_NAME_LEN), MAX_NAME_LEN)
if((loc == usr && usr.stat == 0))
if(loc == usr && usr.stat == 0)
name = "folder[(n_name ? text("- '[n_name]'") : null)]"
return