From f9459786533bc0b623f835475e8e3d890d760ab1 Mon Sep 17 00:00:00 2001 From: harryob <55142896+harryob@users.noreply.github.com> Date: Fri, 23 Jun 2023 18:12:18 +0100 Subject: [PATCH] let's not do this --- code/modules/cm_marines/marines_consoles.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/cm_marines/marines_consoles.dm b/code/modules/cm_marines/marines_consoles.dm index 21f8a461a016..0a8b35600ebf 100644 --- a/code/modules/cm_marines/marines_consoles.dm +++ b/code/modules/cm_marines/marines_consoles.dm @@ -186,12 +186,12 @@ if("PRG_assign") if(!authenticated || !target_id_card) return - var/target = params["assign_target"] + var/target = strip_html(params["assign_target"]) if(!target) return if(target == "Custom") - var/custom_name = params["custom_name"] + var/custom_name = strip_html(params["custom_name"]) if(custom_name) target_id_card.assignment = custom_name else