Mime emote fixed.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@310 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
uporotiy
2010-10-17 17:03:45 +00:00
parent cc4fabbb69
commit 420810b5ad
2 changed files with 8 additions and 2 deletions
@@ -14,6 +14,7 @@
I.trigger(act, src)
var/message
switch(act)
if ("airguitar")
if (!src.restrained())
@@ -51,6 +52,8 @@
if (input2 == "Visible")
m_type = 1
else if (input2 == "Hearable")
if (src.miming)
return
m_type = 2
else
alert("Unable to use this emote, must be either hearable or visible.")
+5 -2
View File
@@ -5,8 +5,11 @@
return
log_say("[src.name]/[src.key] : [message]")
if (src.miming)
return
if (length(message) >= 1)
if (copytext(message, 1, 2) != "*")
if (src.miming)
return
if (src.muted)
return