mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 11:38:12 +01:00
A few fixes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user