From 49c76986ca0a0973056fbb38163494a3d09aa288 Mon Sep 17 00:00:00 2001 From: Fermi Date: Mon, 17 Jun 2019 12:31:45 +0100 Subject: [PATCH] Whoops --- code/datums/brain_damage/hypnosis.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/brain_damage/hypnosis.dm b/code/datums/brain_damage/hypnosis.dm index ba8890fea1..16e3bc58c9 100644 --- a/code/datums/brain_damage/hypnosis.dm +++ b/code/datums/brain_damage/hypnosis.dm @@ -9,13 +9,13 @@ var/hypnotic_phrase = "" var/regex/target_phrase -/datum/brain_trauma/hypnosis/New(phrase, priority = TRUE) +/datum/brain_trauma/hypnosis/New(phrase, var/priority = TRUE) if(!phrase) qdel(src) if(priority == TRUE) hypnotic_phrase = phrase else - phrase friendliify(phrase) + friendliify(phrase) try target_phrase = new("(\\b[hypnotic_phrase]\\b)","ig") catch(var/exception/e)