Skip to content

Commit

Permalink
let's not do this
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Jun 23, 2023
1 parent cc7a909 commit f945978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/cm_marines/marines_consoles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f945978

Please sign in to comment.