mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
[MIRROR] Allows ghosts to start messages with asterisks in deadchat again (#3644)
* Allows ghosts to start messages with asterisks in deadchat again (#57159) #56519 had noble goals in trying to make emote code more robust for ghosts, but in doing so it undid #47144, which was made to allow people to start messages with asterisks in deadchat without getting hassled by the game thinking you're emoting. This re-limits the emote checker to the only two emotes ghosts have ever had, *spin and *flip. * Allows ghosts to start messages with asterisks in deadchat again Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
/mob/dead/observer/check_emote(message, forced)
|
||||
if(message[1] == "*")
|
||||
emote(copytext(message, length(message[1]) + 1), intentional = !forced)
|
||||
return TRUE
|
||||
|
||||
return emote(copytext(message, length(message[1]) + 1), intentional = !forced, force_silence = TRUE)
|
||||
|
||||
//Modified version of get_message_mods, removes the trimming, the only thing we care about here is admin channels
|
||||
/mob/dead/observer/get_message_mods(message, list/mods)
|
||||
|
||||
Reference in New Issue
Block a user