Automute shouldn't go off if you didn't type anything

This commit is contained in:
Anewbe
2017-04-03 14:14:52 -05:00
parent c4f8bdc6b9
commit 1e7bf50a4c
6 changed files with 62 additions and 19 deletions

View File

@@ -37,7 +37,8 @@
log_ooc("[mob.name]/[key] : [msg]")
handle_spam_prevention(MUTE_OOC)
if(msg)
handle_spam_prevention(MUTE_OOC)
var/ooc_style = "everyone"
if(holder && !holder.fakekey)
@@ -107,7 +108,8 @@
log_ooc("(LOCAL) [mob.name]/[key] : [msg]")
handle_spam_prevention(MUTE_OOC)
if(msg)
handle_spam_prevention(MUTE_OOC)
var/mob/source = mob.get_looc_source()
var/turf/T = get_turf(source)