Merge pull request #49036 from AnturK/hypnoregex

Fixes hypnosis regex.
This commit is contained in:
oranges
2020-01-29 13:02:01 +13:00
committed by GitHub
+1 -1
View File
@@ -14,7 +14,7 @@
qdel(src)
hypnotic_phrase = phrase
try
target_phrase = new("(\\b[hypnotic_phrase]\\b)","ig")
target_phrase = new("(\\b[REGEX_QUOTE(hypnotic_phrase)]\\b)","ig")
catch(var/exception/e)
stack_trace("[e] on [e.file]:[e.line]")
qdel(src)