let's make this work
This commit is contained in:
@@ -84,8 +84,12 @@
|
||||
set category = "Object"
|
||||
set src in usr
|
||||
|
||||
var/mob/living/L = usr
|
||||
if(!istype(L))
|
||||
return
|
||||
|
||||
var/n_name = stripped_input(usr, "What would you like to label the photo?", "Photo Labelling", "", MAX_NAME_LEN)
|
||||
//loc.loc check is for making possible renaming photos in clipboards
|
||||
if(n_name && (loc == usr || loc.loc && loc.loc == usr) && usr.stat == CONSCIOUS && usr.canmove && !usr.restrained())
|
||||
if(n_name && (loc == usr || loc.loc && loc.loc == usr) && CHECK_MOBILITY(L, MOBILITY_USE))
|
||||
name = "photo[(n_name ? text("- '[n_name]'") : null)]"
|
||||
add_fingerprint(usr)
|
||||
|
||||
Reference in New Issue
Block a user