mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
Sentences now auto-punctuate if there's no punctuation. (#6510)
See title. Shouldn't interfere with most if not all cases, however I've no way of testing bolding as it just doesn't work locally - theoretically, should be fine.
This commit is contained in:
@@ -176,6 +176,10 @@ proc/get_radio_key_from_channel(var/channel)
|
||||
|
||||
message = trim_left(message)
|
||||
|
||||
var/ending = copytext(message, length(message), (length(message) + 1))
|
||||
if(ending != "!" && ending != "." && ending != "?" && ending != "-")
|
||||
message += "."
|
||||
|
||||
//parse the language code and consume it
|
||||
if(!speaking)
|
||||
speaking = parse_language(message)
|
||||
|
||||
Reference in New Issue
Block a user