Hear formatting fix (#7469)

* Initial Attempt

* Fixed ending formatting

* Make it work

Screw byond strings

* Switches from camelcase to lowercase

* Uses strip_html_properly
This commit is contained in:
MarcellusPye
2017-06-11 03:17:32 -04:00
committed by Fox McCloud
parent da958cbe0b
commit 536ddad052
+1
View File
@@ -168,6 +168,7 @@
/mob/proc/hear_sleep(var/message)
var/heard = ""
if(prob(15))
message = strip_html_properly(message)
var/list/punctuation = list(",", "!", ".", ";", "?")
var/list/messages = splittext(message, " ")
var/R = rand(1, messages.len)