mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Removes name prefix of renamed photos
This commit is contained in:
@@ -68,7 +68,7 @@
|
|||||||
var/n_name = copytext(sanitize(input(usr, "What would you like to label the photo?", "Photo Labelling", null) as text), 1, MAX_NAME_LEN)
|
var/n_name = copytext(sanitize(input(usr, "What would you like to label the photo?", "Photo Labelling", null) as text), 1, MAX_NAME_LEN)
|
||||||
//loc.loc check is for making possible renaming photos in clipboards
|
//loc.loc check is for making possible renaming photos in clipboards
|
||||||
if(( (loc == usr || (loc.loc && loc.loc == usr)) && usr.stat == 0))
|
if(( (loc == usr || (loc.loc && loc.loc == usr)) && usr.stat == 0))
|
||||||
name = "photo[(n_name ? text("- '[n_name]'") : null)]"
|
name = "[(n_name ? text("[n_name]") : null)]"
|
||||||
add_fingerprint(usr)
|
add_fingerprint(usr)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user