[MIRROR] more 516 compat (#9904)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-18 10:55:11 -07:00
committed by GitHub
parent f6f4d0c8a5
commit 65efaca3b9
9 changed files with 25 additions and 22 deletions

View File

@@ -209,7 +209,7 @@ Book Cart End
/// Proc that handles sending the book information to the user, as well as some housekeeping stuff.
/obj/item/book/proc/display_content(mob/living/user)
user << browse("<TT><I>Penned by [author].</I></TT> <BR>" + "[dat]", "window=book")
user << browse(replacetext(dat, "<html>", "<html><TT><I>Penned by [author].</I></TT> <BR>"), "window=book")
/obj/item/book/attackby(obj/item/W as obj, mob/user as mob)
if(carved)