From 20e7f03910c923351d40c623fff91cfbf8e30ad7 Mon Sep 17 00:00:00 2001 From: Tad Hardesty Date: Sat, 30 Sep 2017 05:57:28 -0700 Subject: [PATCH] Strip propriety macros from tooltips (#31113) --- code/modules/tooltip/tooltip.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/tooltip/tooltip.dm b/code/modules/tooltip/tooltip.dm index 3a12d580c4..afafbbdf66 100644 --- a/code/modules/tooltip/tooltip.dm +++ b/code/modules/tooltip/tooltip.dm @@ -65,6 +65,10 @@ Notes: else if (!title && content) content = "

[content]

" + // Strip macros from item names + title = replacetext(title, "\proper", "") + title = replacetext(title, "\improper", "") + //Make our dumb param object params = {"{ "cursor": "[params]", "screenLoc": "[thing.screen_loc]" }"}