text be gone (#22929)

This commit is contained in:
Vi3trice
2023-10-26 10:39:11 +01:00
committed by GitHub
parent a1206bbd89
commit 85353104f7
35 changed files with 99 additions and 101 deletions
+3 -3
View File
@@ -210,7 +210,7 @@
/mob/proc/findname(msg)
for(var/mob/M in GLOB.mob_list)
if(M.real_name == text("[]", msg))
if(M.real_name == "[msg]")
return M
return 0
@@ -899,7 +899,7 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
/mob/Topic(href, href_list)
if(href_list["mach_close"])
var/t1 = text("window=[href_list["mach_close"]]")
var/t1 = "window=[href_list["mach_close"]]"
unset_machine()
src << browse(null, t1)
@@ -924,7 +924,7 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
usr << browse(null,"window=mob\ref[src]")
if(href_list["flavor_more"])
usr << browse(text("<HTML><HEAD><TITLE>[]</TITLE></HEAD><BODY><TT>[]</TT></BODY></HTML>", name, replacetext(flavor_text, "\n", "<BR>")), text("window=[];size=500x200", name))
usr << browse(text("<HTML><HEAD><TITLE>[]</TITLE></HEAD><BODY><TT>[]</TT></BODY></HTML>", name, replacetext(flavor_text, "\n", "<BR>")), "window=[name];size=500x200")
onclose(usr, "[name]")
if(href_list["flavor_change"])
update_flavor_text()