Skip to content

Commit

Permalink
Merge pull request BeeStation#236 from BeeStation/CthulhuOnIce-patch-1
Browse files Browse the repository at this point in the history
fixes emote bug
  • Loading branch information
qwertyquerty authored Jul 19, 2019
2 parents c4a361f + 62a3ab7 commit bdcbb54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/datums/emotes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@

msg = replace_pronoun(user, msg)

var/end = copytext(msg, lentext(message))
if(!(end in list("!", ".", "?", ":", "\"", "-")))
msg += "."

if(isliving(user))
var/mob/living/L = user
for(var/obj/item/implant/I in L.implants)
I.trigger(key, L)

if(!msg)
return

var/end = copytext(msg, lentext(message))
if(!(end in list("!", ".", "?", ":", "\"", "-")))
msg += "."

user.log_message(msg, LOG_EMOTE)

Expand Down

0 comments on commit bdcbb54

Please sign in to comment.