More CI for conditionals (#24050)

* yay

* and thus, it was fixed

* and this fix too, so that the lang server stops complaining

* warrior review
This commit is contained in:
Contrabang
2024-02-06 18:29:33 +00:00
committed by GitHub
parent 877b3b38f7
commit 848c717771
26 changed files with 46 additions and 54 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ GLOBAL_LIST_EMPTY(fax_blacklist)
if("rename") // rename the item that is currently in the fax machine
if(copyitem)
var/n_name = sanitize(copytext(input(usr, "What would you like to label the fax?", "Fax Labelling", copyitem.name) as text, 1, MAX_MESSAGE_LEN))
if((copyitem && copyitem.loc == src && usr.stat == 0))
if(copyitem && copyitem.loc == src && usr.stat == 0)
if(istype(copyitem, /obj/item/paper))
copyitem.name = "[(n_name ? "[n_name]" : initial(copyitem.name))]"
copyitem.desc = "This is a paper titled '" + copyitem.name + "'."
+1 -1
View File
@@ -202,7 +202,7 @@
/obj/item/paper_bundle/proc/rename(mob/user)
var/n_name = sanitize(copytext(input(user, "What would you like to label the bundle?", "Bundle Labelling", name) as text, 1, MAX_MESSAGE_LEN))
if((loc == user && !user.stat))
if(loc == user && !user.stat)
name = "[(n_name ? "[n_name]" : "paper bundle")]"
add_fingerprint(user)