mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
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:
committed by
Fox McCloud
parent
da958cbe0b
commit
536ddad052
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user