Fixes some bugs (#7252)

This commit is contained in:
Matt Atlas
2019-10-25 13:42:24 +03:00
committed by Erki
parent 924ae009a0
commit 2bd5baa586
3 changed files with 49 additions and 7 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ proc/get_radio_key_from_channel(var/channel)
var/static/list/correct_punctuation = list("!" = TRUE, "." = TRUE, "?" = TRUE, "-" = TRUE, "~" = TRUE, "*" = TRUE, "/" = TRUE, ">" = TRUE, "\"" = TRUE, "'" = TRUE, "," = TRUE, ":" = TRUE, ";" = TRUE)
var/ending = copytext(message, length(message), (length(message) + 1))
if(ending && !correct_punctuation[ending])
if(ending && !correct_punctuation[ending] && !(HULK in mutations))
message += "."
//parse the language code and consume it