From c0acd5562aececd767b052ff04d500f3dd7b5051 Mon Sep 17 00:00:00 2001
From: matttheficus <57759731+matttheficus@users.noreply.github.com>
Date: Thu, 11 May 2023 14:45:38 -0400
Subject: [PATCH] Adds [signfont] as an HTML Code for Admin Fax Use (#21026)
* papers please
* EVENT instead
---
code/__HELPERS/text.dm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/code/__HELPERS/text.dm b/code/__HELPERS/text.dm
index d3962776e58..d797a69060e 100644
--- a/code/__HELPERS/text.dm
+++ b/code/__HELPERS/text.dm
@@ -462,6 +462,9 @@
text = replacetext(text, "\[/i\]", "")
text = replacetext(text, "\[u\]", "")
text = replacetext(text, "\[/u\]", "")
+ if(check_rights(R_EVENT))
+ text = replacetext(text, "\[signfont\]", "")
+ text = replacetext(text, "\[/signfont\]", "")
if(sign)
text = replacetext(text, "\[sign\]", "[user ? user.real_name : "Anonymous"]")
if(fields)